mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 18:08:02 +02: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();
|
(function() { new app["'.$app.'"]();}).call();
|
||||||
} ' . (!file_exists(EGW_SERVER_ROOT.'/'.$app.'/js/app.js') ? '' :'
|
} ' . (!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")
|
if(typeof app["'.$app.'"] == "object")
|
||||||
{
|
{
|
||||||
callback = function() {new app["'.$app.'"]()};
|
callback = function() {new app["'.$app.'"]()};
|
||||||
@ -222,7 +222,7 @@ class etemplate_new extends etemplate_widget_template
|
|||||||
{
|
{
|
||||||
(function() { new app["'.$app.'"]();}).call();
|
(function() { new app["'.$app.'"]();}).call();
|
||||||
} ' . (!file_exists(EGW_SERVER_ROOT.'/'.$app.'/js/app.js') ? '' :'
|
} ' . (!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")
|
if(typeof app["'.$app.'"] == "object")
|
||||||
{
|
{
|
||||||
callback = function(et2) {app["'.$app.'"].et2_ready(et2)};
|
callback = function(et2) {app["'.$app.'"].et2_ready(et2)};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user