Commit b16c1a57 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Fix dynamic loading in debug mode.

parent 7fb84320
......@@ -4,15 +4,30 @@
*/
// Activate the dynamic loading for Ext JS and application classes
Dbui.setDynamicLoading(Dbui.debug);
if (Dbui.debug) {
Ext.Loader.setConfig({
disableCaching: false,
enabled: true,
paths: {
'Dbui': '/' + Dbui.name + '/static/plugin_dbui/src',
'Ext': '/' + Dbui.name + '/static/plugin_extjs/src',
'TrackEvents': '/' + Dbui.name + '/static/track_events/src'
}
});
}
Ext.require('Dbui.container.Viewport');
Ext.require('Dbui.plugin.MathJax');
Ext.require('Ext.direct.Manager');
Ext.require('Ext.direct.RemotingProvider');
Ext.require('Ext.EventManager');
Ext.require('Ext.tip.QuickTipManager');
Ext.require('TrackEvents.form.field.UserData');
Ext.require('TrackEvents.form.field.UserDataMultiDefault');
Ext.require('TrackEvents.form.plugin.UserDataConsistency');
Ext.onReady(function(){
"use strict";
......
// require to load the base class when running in debug mode
Ext.Loader.setPath('Dbui', '../static/plugin_dbui/src');
/**
* A dictionary handling several user data block definition.
* It is linked to a ComboBox allowing to select the event and
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment