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
8d4394e3
Commit
8d4394e3
authored
Mar 12, 2017
by
LE GAC Renaud
Browse files
Update Summary.js to run setValue with the tag field.
parent
ee439007
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
static/plugin_event/src/form/field/Summary.js
static/plugin_event/src/form/field/Summary.js
+21
-1
No files found.
static/plugin_event/src/form/field/Summary.js
View file @
8d4394e3
...
...
@@ -62,7 +62,27 @@ Ext.define("Event.form.field.Summary", {
// instantiate the base class
me
.
callParent
(
arguments
);
}
}
,
// jshint strict: true
// supersede the based-class to deal with Ext.form.field.Tag
setValue
:
function
(
value
)
{
"
use strict
"
;
var
me
=
this
,
source
=
value
||
me
.
originalValue
;
if
(
Ext
.
isArray
(
source
.
functions
))
{
value
.
functions
=
source
.
functions
.
toString
();
}
me
.
grid
.
setSource
(
source
);
// the standard way to set the value for a field
// extract from Ext.form.field.Base
return
me
.
mixins
.
field
.
setValue
.
call
(
me
,
source
);
}
});
\ No newline at end of file
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