svghmi/widget_dropdown.ysl2
branchsvghmi
changeset 3004 705e34c6fe93
parent 3001 003fd80ff0b8
child 3035 d1fc8c55c1d3
equal deleted inserted replaced
3003:9771a724af09 3004:705e34c6fe93
    36         this.opened = false;
    36         this.opened = false;
    37     },
    37     },
    38     // Called when a menu entry is clicked
    38     // Called when a menu entry is clicked
    39     on_selection_click: function(selection) {
    39     on_selection_click: function(selection) {
    40         this.close();
    40         this.close();
    41         apply_hmi_value(this.get_idx(0), selection);
    41         this.apply_hmi_value(0, selection);
    42     },
    42     },
    43     on_button_click: function() {
    43     on_button_click: function() {
    44         this.open();
    44         this.open();
    45     },
    45     },
    46     on_backward_click: function(){
    46     on_backward_click: function(){