From 985c547242d19e47075a7b1863b79b488928e73f Mon Sep 17 00:00:00 2001 From: Alib Date: Tue, 23 Feb 2010 12:17:26 +0100 Subject: readded "h" for hours --- javascript/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'javascript') diff --git a/javascript/functions.js b/javascript/functions.js index 428bcbe..4579590 100755 --- a/javascript/functions.js +++ b/javascript/functions.js @@ -121,7 +121,7 @@ function openSelectTime(layer,timer_hour,timer_minute) { SpinningWheel.addSlot(minutes, '', now_minute); SpinningWheel.setCancelAction( function() {} ); - 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.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.open(); } -- cgit v1.2.3