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
d82b5399
Commit
d82b5399
authored
Mar 22, 2015
by
LE GAC Renaud
Browse files
Fix minor bugs in the documentation.
parent
7d7b2778
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
modules/report_objects.py
modules/report_objects.py
+1
-1
static/src/form/field/UserDataMultiDefault.js
static/src/form/field/UserDataMultiDefault.js
+4
-3
No files found.
modules/report_objects.py
View file @
d82b5399
...
...
@@ -786,7 +786,7 @@ class Metric1D(BaseReport):
def
_is_year
(
self
,
maps
):
"""Supersede the method of the base class.
@ret
r
un: true if the group_field is year.
@retu
r
n: true if the group_field is year.
"""
return
self
.
config
.
group_field
==
'year'
...
...
static/src/form/field/UserDataMultiDefault.js
View file @
d82b5399
// require to load the base class when running in debug mode
Ext
.
Loader
.
setPath
(
'
App
'
,
'
../static/plugin_dbui/src
'
);
/**
* A dictionary handling several user data block definition.
* It is linked to a ComboBox allowing to select the event and
...
...
@@ -12,9 +15,6 @@
* change. Value is equal to null when the conversion failed.
*
*/
// require to load the base class when running in debug mode
Ext
.
Loader
.
setPath
(
'
App
'
,
'
../static/plugin_dbui/src
'
);
Ext
.
define
(
'
MyApp.form.field.UserDataMultiDefault
'
,
{
extend
:
'
App.form.field.DictMultiDefault
'
,
...
...
@@ -28,6 +28,7 @@ Ext.define('MyApp.form.field.UserDataMultiDefault', {
// The record associated to the selected event.
// The attribute EventsData contains the definition of the user data block.
//
// @return {Object} the grid property configuration and default values
// @return {Object} return.sourceConfig
// the editor for each property.
//
...
...
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