Add span tag while enabling or disbling apps as well.
This commit is contained in:
parent
33ee2e2f10
commit
5228eb8a18
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue