mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
patch button names correctly
This commit is contained in:
@@ -368,9 +368,13 @@ Meteor.ui._Patcher._copyAttributes = function(tgt, src) {
|
||||
if (typeof tgt.checked !== "undefined" ||
|
||||
typeof src.checked !== "undefined")
|
||||
tgt.checked = src.checked;
|
||||
if (src.nodeName === "INPUT" && src.type === "text") {
|
||||
if (! target_focused)
|
||||
if (src.nodeName === "INPUT") {
|
||||
if (src.type === "text") {
|
||||
if (! target_focused)
|
||||
tgt.value = src.value;
|
||||
} else {
|
||||
tgt.value = src.value;
|
||||
}
|
||||
}
|
||||
if (src.name)
|
||||
tgt.name = src.name;
|
||||
|
||||
Reference in New Issue
Block a user