diff options
-rwxr-xr-x | new_timer.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/new_timer.html b/new_timer.html index d6e7fd7..be7fb1b 100755 --- a/new_timer.html +++ b/new_timer.html @@ -90,10 +90,11 @@ function openSelectTime(layer) { }
SpinningWheel.addSlot(hours, 'right', now_hour);
+ SpinningWheel.addSlot({ separator: 'h' }, 'readonly shrink');
SpinningWheel.addSlot(minutes, '', now_minute);
SpinningWheel.setCancelAction( function() {} );
- SpinningWheel.setDoneAction(function () {var results = SpinningWheel.getSelectedValues(); document.getElementById(layer).innerHTML = results.values.join('h');if ( layer == 'layer_starttime' ) { var forminput = 'timer_starttime'; } else { var forminput = 'timer_endtime'; }; eval ("document.timer." + forminput + ".value = results.keys.join('')"); });
+ SpinningWheel.setDoneAction(function () {var results = SpinningWheel.getSelectedValues(); document.getElementById(layer).innerHTML = results.values.join('');if ( layer == 'layer_starttime' ) { var forminput = 'timer_starttime'; } else { var forminput = 'timer_endtime'; }; eval ("document.timer." + forminput + ".value = results.keys.join('')"); });
SpinningWheel.open();
}
|