Add span tag while enabling or disbling apps as well.

This commit is contained in:
raghunayyar 2013-04-12 18:15:59 +05:30
parent 33ee2e2f10
commit 5228eb8a18
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); li.attr('data-id', entry.id);
var img= $('<img class="icon"/>').attr({ src: entry.icon}); var img= $('<img class="icon"/>').attr({ src: entry.icon});
var a=$('<a></a>').attr('href', entry.href); 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); a.prepend(img);
li.append(a); li.append(a);
container.append(li); container.append(li);