do NOT minify ckeditor, as it breaks it (it is already minifyed anyway)

This commit is contained in:
Ralf Becker 2012-10-26 10:00:05 +00:00
parent 18fe5c1d4b
commit f7cc51ad18

View File

@ -1270,7 +1270,7 @@ abstract class egw_framework
if (($mod = filemtime(EGW_SERVER_ROOT.$path)) > $max_modified) $max_modified = $mod; if (($mod = filemtime(EGW_SERVER_ROOT.$path)) > $max_modified) $max_modified = $mod;
// for now minify does NOT support query parameters, nor php files generating javascript // for now minify does NOT support query parameters, nor php files generating javascript
if ($debug_minify || $query || substr($path, -3) != '.js') if ($debug_minify || $query || substr($path, -3) != '.js' || strpos($path,'ckeditor') !== false)
{ {
$path .= '?'. $mod.($query ? '&'.$query : ''); $path .= '?'. $mod.($query ? '&'.$query : '');
$links .= '<script type="text/javascript" src="'. $GLOBALS['egw_info']['server']['webserver_url']. $path.'">'."</script>\n"; $links .= '<script type="text/javascript" src="'. $GLOBALS['egw_info']['server']['webserver_url']. $path.'">'."</script>\n";