mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 04:43:35 +08:00
Fix issue: 17229 Submitting an empty tag creates a "New Tag Name" tag
This commit is contained in:
@@ -126,6 +126,11 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//make sure the placeholder value is not taken as the input value when submitting forms
|
||||||
|
$("form").live("submit", function () {
|
||||||
|
$(":input[placeholder].placeholderd").val("");
|
||||||
|
});
|
||||||
|
|
||||||
return _this;
|
return _this;
|
||||||
},
|
},
|
||||||
toggleWhatYouControl: function () {
|
toggleWhatYouControl: function () {
|
||||||
|
Reference in New Issue
Block a user