Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Pipeline #1141 passed
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment