Author: ralfbecker
New Revision: 55218
URL: http://svn.stylite.de/viewvc/egroupware?rev=55218&view=rev
Log:
remove automatically loaded javascript objects, as they all load fine on demand
Modified:
trunk/jdots/inc/class.jdots_framework.inc.php
— trunk/jdots/inc/class.jdots_framework.inc.php (original)
+++ trunk/jdots/inc/class.jdots_framework.inc.php Wed Mar 2 15:43:21 2016
@@ -281,10 +281,6 @@
{
//echo METHOD.LINE.’ do framework …’.’
’;
// framework javascript classes only need for framework
-
self::validate_file('jquery','jquery-ui');
-
self::validate_file('framework', 'fw', self::JS_INCLUDE_APP);
-
self::validate_file('framework', 'fw_browser', self::JS_INCLUDE_APP);
-
self::validate_file('framework', 'fw_ui', self::JS_INCLUDE_APP);
if (html::$ua_mobile || $GLOBALS['egw_info']['user']['preferences']['common']['theme'] == 'mobile')
{
self::validate_file('.', 'fw_mobile', self::JS_INCLUDE_APP);
@@ -293,24 +289,8 @@
{
self::validate_file(’.’, ‘fw_’.static::APP, static::JS_INCLUDE_APP);
}
-
self::validate_file('.', 'egw_fw_classes', self::JS_INCLUDE_APP);
-
self::validate_file('.','etemplate2','etemplate');
-
-
// Need to load this here to get enhanced selectboxes working
-
self::validate_file('/phpgwapi/js/jquery/chosen/chosen.jquery.js');
-
egw_cache::unsetSession(__CLASS__,'sidebox_md5'); // sideboxes need to be send again
-
// load jscalendar for calendar users
-
if ($GLOBALS['egw_info']['user']['apps']['calendar'])
-
{
-
$GLOBALS['egw']->jscalendar;
-
}
-
// load dhtmlxtree for pm or email users
-
if ($GLOBALS['egw_info']['user']['apps']['projectmanager'] || $GLOBALS['egw_info']['user']['apps']['felamimail'])
-
{
-
$GLOBALS['egw_info']['flags']['java_script'] .= html::tree(null,null);
-
}
$extra['navbar-apps'] = $this->get_navbar_apps($_SERVER['REQUEST_URI']);
}
// for an url WITHOUT cd=yes --> load framework if not yet loaded:
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs