equal
deleted
inserted
replaced
16 | this.active_elt.setAttribute("style", "display:none"); |
16 | this.active_elt.setAttribute("style", "display:none"); |
17 | this.state = 1; |
17 | this.state = 1; |
18 | } |
18 | } |
19 | }, |
19 | }, |
20 | on_click: function(evt) { |
20 | on_click: function(evt) { |
21 | change_hmi_value(this.indexes[0], "="+this.state); |
21 | this.apply_hmi_value(0, this.state); |
22 | }, |
22 | }, |
23 | active_style: undefined, |
23 | active_style: undefined, |
24 | inactive_style: undefined, |
24 | inactive_style: undefined, |
25 | init: function() { |
25 | init: function() { |
26 | this.active_style = this.active_elt.style.cssText; |
26 | this.active_style = this.active_elt.style.cssText; |