* [misc] fix js error on top pages.
This commit is contained in:
+5
-1
@@ -140,7 +140,11 @@
|
||||
changeAppsLang: changeAppLang,
|
||||
changeAppsTheme: changeAppTheme,
|
||||
updateUserToolbar: function(){loadPage({selector: '#toolbar', partial: true, target: '#toolbar'})},
|
||||
triggerEvent: function(event, args, options){$.apps.triggerAppEvent(currentCode, event, [getPageInfo(), args], options);}
|
||||
triggerEvent: function(event, args, options)
|
||||
{
|
||||
if(!isInAppTab) return;
|
||||
$.apps.triggerAppEvent(currentCode, event, [getPageInfo(), args], options);
|
||||
}
|
||||
}, parent.window.$.apps);
|
||||
|
||||
const renderMap =
|
||||
|
||||
Reference in New Issue
Block a user