commit | d7ad907feb28da0fe213e7e3ecf06429c09319a5 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Mon Dec 09 07:08:20 2019 +0100 |
committer | Akron <nils@diewald-online.de> | Mon Dec 09 17:16:00 2019 +0100 |
tree | 60898620a703266ffb29aa7ba6d0f1fe8feb99a6 | |
parent | 848257b7a3fe55f7fb392c3734feb7b02f8b20f8 [diff] [blame] |
Add pipe mechanism Change-Id: I4207b33b1e4bab06ee632fd17be68542891caee3
diff --git a/dev/js/src/init.js b/dev/js/src/init.js index 982929c..109fd48 100644 --- a/dev/js/src/init.js +++ b/dev/js/src/init.js
@@ -355,9 +355,12 @@ if (vc !== undefined) { input.value = vc.toQuery(); + if (input.value == '') + input.removeAttribute('name'); } else { - delete input['value']; + input.removeAttribute('value'); + input.removeAttribute('name'); }; }); };