diff --git a/infolog/inc/class.infolog_hooks.inc.php b/infolog/inc/class.infolog_hooks.inc.php index 08171ca085..747b570b02 100644 --- a/infolog/inc/class.infolog_hooks.inc.php +++ b/infolog/inc/class.infolog_hooks.inc.php @@ -98,7 +98,7 @@ class infolog_hooks $file = array( 'infolog list' => egw::link('/index.php',array( 'menuaction' => 'infolog.infolog_ui.index' )), - 'Add' => "javascript:app.infolog.add_link_sidemenu()", + 'Add' => "javascript:app.infolog.add_link_sidemenu();", ); display_sidebox($appname,$GLOBALS['egw_info']['apps']['infolog']['title'].' '.lang('Menu'),$file); } diff --git a/phpgwapi/templates/idots/js/idots.js b/phpgwapi/templates/idots/js/idots.js index fba49e9926..b5c45b8237 100644 --- a/phpgwapi/templates/idots/js/idots.js +++ b/phpgwapi/templates/idots/js/idots.js @@ -69,6 +69,10 @@ if (matches.length > 1 && matches[2] !== undefined) args = JSON.parse('['+matches[2].replace(/'/g,'"')+']'); window[matches[1]].apply(window.framework, args); } + else if (matches && matches[1].indexOf('app.') == 0) + { + return et2_call(matches[1],matches[2]); + } else { alert('Do NOT know how to execute '+this.href);