Merge pull request #2896 from owncloud/app-enable-fix

Add span tag while enabling or disbling apps as well.
This commit is contained in:
Thomas Tanghus 2013-04-13 06:57:42 -07:00
commit f480596b94
1 changed files with 3 additions and 1 deletions

View File

@ -142,7 +142,9 @@ OC.Settings.Apps = OC.Settings.Apps || {
li.attr('data-id', entry.id);
var img= $('<img class="icon"/>').attr({ src: entry.icon});
var a=$('<a></a>').attr('href', entry.href);
a.text(entry.name);
var filename=$('<span></span>')
filename.text(entry.name);
a.prepend(filename);
a.prepend(img);
li.append(a);
container.append(li);