X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/examples/ux/FieldReplicator.js diff --git a/examples/ux/FieldReplicator.js b/examples/ux/FieldReplicator.js index 89ed41d2..0f2c67e4 100644 --- a/examples/ux/FieldReplicator.js +++ b/examples/ux/FieldReplicator.js @@ -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 = { // Handle the field either being changed to blank or from blank. onChange: function(f, n, o) { + +// Ensure that "change" is only fired once. + f.startValue = n; + var c = f.ownerCt, l, ps = f.previousSibling(), ns = f.nextSibling();