mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Fix typo in missing JS object warning
This commit is contained in:
parent
4de7d2f432
commit
fdada6c3c0
@ -194,7 +194,7 @@ class etemplate_new extends etemplate_widget_template
|
||||
{
|
||||
(function() { new app["'.$app.'"]();}).call();
|
||||
} ' . (!file_exists(EGW_SERVER_ROOT.'/'.$app.'/js/app.js') ? '' :'
|
||||
} else { egw.debug("warn", "Did not load '.$app.' JS object"); }').'
|
||||
else { egw.debug("warn", "Did not load '.$app.' JS object"); }').'
|
||||
if(typeof app["'.$app.'"] == "object")
|
||||
{
|
||||
callback = function() {new app["'.$app.'"]()};
|
||||
@ -222,7 +222,7 @@ class etemplate_new extends etemplate_widget_template
|
||||
{
|
||||
(function() { new app["'.$app.'"]();}).call();
|
||||
} ' . (!file_exists(EGW_SERVER_ROOT.'/'.$app.'/js/app.js') ? '' :'
|
||||
} else { egw.debug("warn", "Did not load '.$app.' JS object"); }') . '
|
||||
else { egw.debug("warn", "Did not load '.$app.' JS object"); }') . '
|
||||
if(typeof app["'.$app.'"] == "object")
|
||||
{
|
||||
callback = function(et2) {app["'.$app.'"].et2_ready(et2)};
|
||||
|
Loading…
Reference in New Issue
Block a user