From d7a0b351167c289cbd3918a912235ff839230960 Mon Sep 17 00:00:00 2001 From: Alib Date: Mon, 22 Feb 2010 08:55:35 +0100 Subject: corrected timer typo --- new_timer.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'new_timer.html') 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(); } -- cgit v1.2.3