client/js/lists/radiobuttonlist/radiobuttonlist.js in rsence-pre-3.0.0.15 vs client/js/lists/radiobuttonlist/radiobuttonlist.js in rsence-pre-3.0.0.16

- old
+ new

@@ -61,10 +61,12 @@ else if (this['valueMatrix'] !== undefined){ this.setValue(-1); var _prevIndex = this.radioButtonIndexValue.value, _listLen = _listItems.length; - this.radioButtonIndexValue.set(-1); + if (this.radioButtonIndexValue) { + this.radioButtonIndexValue.set(-1); + } if( _listLen > 0 ){ if( _listLen-1 < _prevIndex ){ this.setValue(this.listItems[_listLen-1][0]); } else if (this.listItems[_prevIndex]){