Use egw.LAB object if available

This commit is contained in:
Nathan Gray 2013-04-12 16:30:30 +00:00
parent 4c692102a2
commit b2cb70f15f

View File

@ -67,7 +67,7 @@ egw.extend('files', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
} }
} }
// setting AlwaysPreserverOrder: true, 'til we have some other means of ensuring dependency resolution // setting AlwaysPreserverOrder: true, 'til we have some other means of ensuring dependency resolution
$LAB.setOptions({AlwaysPreserveOrder:true,BasePath:_prefix}).script(_jsFiles).wait(function(){ (egw.LAB || $LAB.setOptions({AlwaysPreserveOrder:true,BasePath:_prefix})).script(_jsFiles).wait(function(){
_callback.call(_context); _callback.call(_context);
}); });
}, },