X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/src/data/Record.js?ds=sidebyside diff --git a/src/data/Record.js b/src/data/Record.js index 2c07fcd3..4405b93c 100644 --- a/src/data/Record.js +++ b/src/data/Record.js @@ -1,8 +1,8 @@ /*! - * Ext JS Library 3.1.0 - * Copyright(c) 2006-2009 Ext JS, LLC - * licensing@extjs.com - * http://www.extjs.com/license + * Ext JS Library 3.3.1 + * Copyright(c) 2006-2010 Sencha Inc. + * licensing@sencha.com + * http://www.sencha.com/license */ /** * @class Ext.data.Record @@ -74,7 +74,7 @@ var myNewRecord = new TopicRecord( myStore.{@link Ext.data.Store#add add}(myNewRecord); * @method create - * @return {function} A constructor which is used to create new Records according + * @return {Function} A constructor which is used to create new Records according * to the definition. The constructor has the same signature as {@link #Record}. * @static */ @@ -236,7 +236,7 @@ rec.{@link #commit}(); // updates the view // private afterEdit : function(){ - if(this.store){ + if (this.store != undefined && typeof this.store.afterEdit == "function") { this.store.afterEdit(this); } },