X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/examples/ux/FieldReplicator.js diff --git a/examples/ux/FieldReplicator.js b/examples/ux/FieldReplicator.js index 6d4041f4..0f2c67e4 100644 --- a/examples/ux/FieldReplicator.js +++ b/examples/ux/FieldReplicator.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.0.3 - * 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();