Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tev
plugin_event
Commits
b16c1a57
Commit
b16c1a57
authored
Oct 09, 2016
by
LE GAC Renaud
Browse files
Fix dynamic loading in debug mode.
parent
7fb84320
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
static/app.js
static/app.js
+16
-1
static/track_events/src/form/field/UserDataMultiDefault.js
static/track_events/src/form/field/UserDataMultiDefault.js
+0
-3
No files found.
static/app.js
View file @
b16c1a57
...
...
@@ -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
"
;
...
...
static/track_events/src/form/field/UserDataMultiDefault.js
View file @
b16c1a57
// 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment