mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
fixed old tree stuff to use new dhtmlx locations, allways use dhtmlxtree/codebase/dhtmlxcommon.js
This commit is contained in:
parent
48d3f93fa3
commit
85c5468013
@ -1804,10 +1804,10 @@ if ($app == 'home') continue;
|
||||
$inc_mgr->include_js_file('/phpgwapi/js/jsapi/jsapi.js');
|
||||
$inc_mgr->include_js_file('/phpgwapi/js/egw_json.js');
|
||||
$inc_mgr->include_js_file('/phpgwapi/js/jsapi/egw.js');
|
||||
// dhtmlx tree & menu
|
||||
$inc_mgr->include_js_file('/phpgwapi/js/dhtmlxtree/dhtmlxTree/sources/dhtmlxcommon.js');
|
||||
$inc_mgr->include_js_file('/phpgwapi/js/dhtmlxtree/dhtmlxTree/sources/dhtmlxtree.js');
|
||||
$inc_mgr->include_js_file('/phpgwapi/js/dhtmlxtree/dhtmlxMenu/sources/dhtmlxmenu.js');
|
||||
// dhtmlxTree (dhtmlxMenu get loaded via dependency in egw_menu_dhtmlx.js)
|
||||
$inc_mgr->include_js_file('/phpgwapi/js/dhtmlxtree/codebase/dhtmlxcommon.js');
|
||||
$inc_mgr->include_js_file('/phpgwapi/js/dhtmlxtree/sources/dhtmlxtree.js');
|
||||
$inc_mgr->include_js_file('/phpgwapi/js/dhtmlxtree/sources/ext/dhtmlxtree_json.js');
|
||||
// actions
|
||||
$inc_mgr->include_js_file('/phpgwapi/js/egw_action/egw_action.js');
|
||||
$inc_mgr->include_js_file('/phpgwapi/js/egw_action/egw_keymanager.js');
|
||||
|
@ -1289,10 +1289,10 @@ egw_LAB.wait(function() {
|
||||
static $tree_initialised=false;
|
||||
if (!$tree_initialised)
|
||||
{
|
||||
egw_framework::includeCSS('/phpgwapi/js/dhtmlxtree/dhtmlxTree/codebase/dhtmlxtree.css');
|
||||
egw_framework::validate_file('dhtmlxtree','dhtmlxTree/sources/dhtmlxcommon');
|
||||
egw_framework::validate_file('dhtmlxtree','dhtmlxTree/sources/dhtmlxtree');
|
||||
if ($autoLoading && $dataMode != 'XML') egw_framework::validate_file('dhtmlxtree','dhtmlxTree/sources/ext/dhtmlxtree_json');
|
||||
egw_framework::includeCSS('/phpgwapi/js/dhtmlxtree/codebase/dhtmlxtree.css');
|
||||
egw_framework::validate_file('/phpgwapi/js/dhtmlxtree/codebase/dhtmlxcommon.js');
|
||||
egw_framework::validate_file('/phpgwapi/js/dhtmlxtree/sources/dhtmlxtree.js');
|
||||
if ($autoLoading && $dataMode != 'XML') egw_framework::validate_file('/phpgwapi/js/dhtmlxtree/sources/ext/dhtmlxtree_json.js');
|
||||
$tree_initialised = true;
|
||||
if (!$_folders && !$autoLoading) return null;
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
/*egw:uses
|
||||
egw_menu;
|
||||
/phpgwapi/js/dhtmlxMenu/sources/dhtmlxcommon.js;
|
||||
/phpgwapi/js/dhtmlxtree/codebase/dhtmlxcommon.js;
|
||||
/phpgwapi/js/dhtmlxMenu/sources/dhtmlxmenu.js;
|
||||
/phpgwapi/js/dhtmlxMenu/sources/ext/dhtmlxmenu_ext.js;
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user