Commit f2a8d43d authored by Carsten  Rose's avatar Carsten Rose
Browse files

Merge remote-tracking branch...

Merge remote-tracking branch 'origin/B6467SanitizingAHiddenFieldMakesTheFormUnsubmittable' into B6467SanitizingAHiddenFieldMakesTheFormUnsubmittable
parents 6de3fe93 143ae04b
Pipeline #1141 passed with stage
in 1 minute and 40 seconds
......@@ -52,7 +52,6 @@ var QfqNS = QfqNS || {};
if (config.content) {
n.ElementUpdate.setElementText($element, config.content);
}
};
n.ElementUpdate.$getElementById = function (id) {
......@@ -68,7 +67,7 @@ var QfqNS = QfqNS || {};
attributeValue = attributes[attributeName];
if (attributeValue === null) {
if (attributeValue === null || attributeValue === false || attributeValue === "false") {
n.ElementUpdate.deleteAttribute($element, attributeName);
} else {
n.ElementUpdate.setAttribute($element, attributeName, attributeValue);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment