404 on sidebar app icon wouldn't display the question mark
parent
9f668a908d
commit
dae68e956a
Binary file not shown.
|
@ -2874,6 +2874,12 @@ function showSidebarApp(apppath,appname) {
|
|||
setTimeout(function() {
|
||||
post({action:'getPopupDescription',appName:appname,appPath:apppath},function(result) {
|
||||
$("#sidenavContent").html(result.description);
|
||||
$('img').on("error",function() {
|
||||
if ( $(this).hasClass("spotlightIcon") )
|
||||
$(this).attr('src','<?=$caPaths['SpotlightIcon-backup']?>');
|
||||
else
|
||||
$(this).attr('src',"/plugins/dynamix.docker.manager/images/question.png");
|
||||
});
|
||||
$('.screenshot').magnificPopup({
|
||||
closeMarkup: "<span class='mfp-close narrow'>"+tr("CLOSE")+"</span>",
|
||||
closeOnContentClick: true,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
8bfbfe80c80a69cbe56675912c8fa7ba ./Apps.page
|
||||
211c69767aba91427ee20f4984af1efe ./Apps.page
|
||||
106b521c1feebda4d7b3f558cc016cda ./CA_notices.page
|
||||
eb1f0ee4148747c0473e73e4e973994f ./ca_settings.page
|
||||
e8d29607ec792ddf9f6832b10ee70fdc ./default.cfg
|
||||
|
|
Loading…
Reference in New Issue