git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.1.1 - Released 02/08/2010
[extjs.git]
/
examples
/
ux
/
FieldReplicator.js
diff --git
a/examples/ux/FieldReplicator.js
b/examples/ux/FieldReplicator.js
index
89ed41d
..
0f2c67e
100644
(file)
--- a/
examples/ux/FieldReplicator.js
+++ b/
examples/ux/FieldReplicator.js
@@
-1,6
+1,6
@@
/*!
/*!
- * Ext JS Library 3.1.
0
- * Copyright(c) 2006-20
09
Ext JS, LLC
+ * Ext JS Library 3.1.
1
+ * Copyright(c) 2006-20
10
Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
*/
* 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
// 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
var c = f.ownerCt, l,
\r
ps = f.previousSibling(),
\r
ns = f.nextSibling();
\r