X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..6a7e4474cba9d8be4b2ec445e10f1691f7277c50:/docs/source/Record.html diff --git a/docs/source/Record.html b/docs/source/Record.html index 3ba84f57..9f3c7071 100644 --- a/docs/source/Record.html +++ b/docs/source/Record.html @@ -1,12 +1,18 @@ - - - - The source code - - - - -
/** + + + + The source code + + + + +
/*!
+ * Ext JS Library 3.2.0
+ * Copyright(c) 2006-2010 Ext JS, Inc.
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+
/** * @class Ext.data.Record *

Instances of this class encapsulate both Record definition information, and Record * value information for use in {@link Ext.data.Store} objects, or any code which needs @@ -76,7 +82,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 */ @@ -238,7 +244,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); } }, @@ -415,6 +421,6 @@ Ext.data.Record.id(rec); // automatically generate a unique sequential id },this); } }; -
- + + \ No newline at end of file