X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..HEAD:/examples/form/fieldcontainer.js?ds=inline diff --git a/examples/form/fieldcontainer.js b/examples/form/fieldcontainer.js index 6452dae5..e8acef73 100644 --- a/examples/form/fieldcontainer.js +++ b/examples/form/fieldcontainer.js @@ -201,7 +201,7 @@ Ext.onReady(function() { { text : 'Load test data', handler: function() { - this.up('form').getForm().loadRecord(Ext.ModelManager.create({ + this.up('form').getForm().loadRecord(Ext.create('Employee', { 'email' : 'abe@sencha.com', 'title' : 'mr', 'firstName': 'Abraham', @@ -213,7 +213,7 @@ Ext.onReady(function() { 'phone-3' : '4567', 'hours' : 7, 'minutes' : 15 - }, 'Employee')); + })); } }, {