partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 17e0f250e5731a200be851b31f9bf855217306fe
parent 03644da4b28a9446125728926fb27e260a0021fc
Author: Felicitus <felicitus@felicitus.org>
Date:   Wed,  1 Jul 2015 23:35:27 +0200

Removed obsolete method

Diffstat:
Dsrc/PartKeepr/FrontendBundle/Resources/public/js/ExtJS/Enhancements/Ext.data.Model-setDataWithAssociations.js | 21---------------------
1 file changed, 0 insertions(+), 21 deletions(-)

diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/ExtJS/Enhancements/Ext.data.Model-setDataWithAssociations.js b/src/PartKeepr/FrontendBundle/Resources/public/js/ExtJS/Enhancements/Ext.data.Model-setDataWithAssociations.js @@ -1,20 +0,0 @@ -Ext.override(Ext.data.Model, { - /** - * Sets the data including associations. - * - * @param data A plain object which represents the data. This can come from model.getData(true). - */ - setDataWithAssociations: function (data) { - for (var i in data) { - if (this.fields.containsKey(i)) { - this.set(i, data[i]); - } - - if (this.associations.containsKey(i)) { - var store = this[i](); - store.add(data[i]); - } - } - - } -});- \ No newline at end of file