X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..6a7e4474cba9d8be4b2ec445e10f1691f7277c50:/src/data/Record.js diff --git a/src/data/Record.js b/src/data/Record.js index fcb1f555..3eb2f42f 100644 --- a/src/data/Record.js +++ b/src/data/Record.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.1.1 - * Copyright(c) 2006-2010 Ext JS, LLC + * Ext JS Library 3.2.0 + * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ @@ -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); } },