comparison test_create/test_core.js @ 2162:894d9bfd4177

Fixed test creator <surveyentry> options. Updated interface-specs for ABX.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Wed, 16 Mar 2016 15:17:04 +0000
parents c9b4baa764dc
children 6533f0c11d9a
comparison
equal deleted inserted replaced
2161:4208c3b73b74 2162:894d9bfd4177
930 this.option.type = event.currentTarget.value; 930 this.option.type = event.currentTarget.value;
931 this.generate(this.option,this.parent); 931 this.generate(this.option,this.parent);
932 } 932 }
933 return; 933 return;
934 } 934 }
935 var type = event.currentTarget.getAttribute("type"); 935 switch(event.currentTarget.getAttribute("type")) {
936 switch(name) {
937 case "checkbox": 936 case "checkbox":
938 eval("this.option."+name+" = event.currentTarget.checked"); 937 eval("this.option."+name+" = event.currentTarget.checked");
939 break; 938 break;
940 default: 939 default:
941 eval("this.option."+name+" = event.currentTarget.value"); 940 eval("this.option."+name+" = event.currentTarget.value");