Upgrade to ExtJS 3.1.1 - Released 02/08/2010
[extjs.git] / examples / ux / FieldReplicator.js
index 89ed41d..0f2c67e 100644 (file)
@@ -1,6 +1,6 @@
 /*!
- * Ext JS Library 3.1.0
- * Copyright(c) 2006-2009 Ext JS, LLC
+ * Ext JS Library 3.1.1
+ * Copyright(c) 2006-2010 Ext JS, LLC
  * licensing@extjs.com
  * http://www.extjs.com/license
  */
@@ -43,6 +43,10 @@ Ext.ux.FieldReplicator = {
 \r
 //  Handle the field either being changed to blank or from blank.\r
     onChange: function(f, n, o) {\r
+\r
+//             Ensure that "change" is only fired once.\r
+       f.startValue = n;\r
+\r
         var c = f.ownerCt, l,\r
             ps = f.previousSibling(),\r
             ns = f.nextSibling();\r