Commit 8d4394e3 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update Summary.js to run setValue with the tag field.

parent ee439007
......@@ -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
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