mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 18:08:02 +02:00
revert jQuery.noConflict() stuff as current aproach fails if minified
This commit is contained in:
parent
7bb87c2615
commit
d40a3aa34f
@ -151,12 +151,7 @@
|
|||||||
|
|
||||||
window.egw_LAB = $LAB.setOptions({AlwaysPreserveOrder:true,BasePath:window.egw_webserverUrl+'/'});
|
window.egw_LAB = $LAB.setOptions({AlwaysPreserveOrder:true,BasePath:window.egw_webserverUrl+'/'});
|
||||||
var include = JSON.parse(egw_script.getAttribute('data-include'));
|
var include = JSON.parse(egw_script.getAttribute('data-include'));
|
||||||
var jquery = include.shift();
|
window.egw_LAB.script(include).wait(function()
|
||||||
|
|
||||||
window.egw_LAB.script([jquery]).wait(function(){
|
|
||||||
// tell jQuery to remove $, as EGroupware does NOT use it and it conflicts with eg. mootools
|
|
||||||
jQuery.noConflict();
|
|
||||||
}).script(include).wait(function()
|
|
||||||
{
|
{
|
||||||
// call egw.link_handler, if attr specified
|
// call egw.link_handler, if attr specified
|
||||||
var egw_redirect = egw_script.getAttribute('data-egw-redirect');
|
var egw_redirect = egw_script.getAttribute('data-egw-redirect');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user