svghmi/widget_dropdown.ysl2
branchsvghmi
changeset 3035 d1fc8c55c1d3
parent 3004 705e34c6fe93
child 3090 9e172e4e50c7
equal deleted inserted replaced
3034:793ce2117258 3035:d1fc8c55c1d3
   156         }else{
   156         }else{
   157             this.menu_offset = Math.max(
   157             this.menu_offset = Math.max(
   158                 0, 
   158                 0, 
   159                 this.menu_offset - spanslength);
   159                 this.menu_offset - spanslength);
   160         }
   160         }
   161         console.log(this.menu_offset);
       
   162         this.set_partial_text();
   161         this.set_partial_text();
   163     },
   162     },
   164     // Setup partial view text content
   163     // Setup partial view text content
   165     // with jumps at first and last entry when appropriate
   164     // with jumps at first and last entry when appropriate
   166     set_partial_text: function(){
   165     set_partial_text: function(){