Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-01-25 15:27:27 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-01-25 15:27:27 -0500
commitd128b2384edf655ac02e4ec3422c2c45f8628499 (patch)
tree9113febdd0470baf553cefef74f7f5e77bc68e00
parent78ea30e7b537a9315b802716621b534dc10783b9 (diff)
downloadtame-2.8.7.tar.gz
tame-2.8.7.tar.bz2
tame-2.8.7.zip
entry-form: Ignore missing DOM elementsv2.8.7
* src/current/scripts/entry-form.js (updateParamTestcaseDfn): Ignore if DOM element cannot be found.
-rw-r--r--src/current/scripts/entry-form.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/current/scripts/entry-form.js b/src/current/scripts/entry-form.js
index 76300c8..d357ef6 100644
--- a/src/current/scripts/entry-form.js
+++ b/src/current/scripts/entry-form.js
@@ -322,6 +322,11 @@ var client = ( function()
{
const dfn_element = getParamTestcaseDfnElement( name );
+ if ( dfn_element === undefined )
+ {
+ return;
+ }
+
value = value || bucket[ name ];
const dfn = name + ': ' + JSON.stringify( value );