summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xincludes/inc_edittimer.php4
-rwxr-xr-xjavascript/functions.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/inc_edittimer.php b/includes/inc_edittimer.php
index f71202c..6f8a82f 100755
--- a/includes/inc_edittimer.php
+++ b/includes/inc_edittimer.php
@@ -56,7 +56,7 @@ $ssec = substr($stime, 2);
print " <li class=\"menu\">";
print " <a class=\"noeffect\" href=\"javascript:openSelectTime('layer_starttime',{$smin}, {$ssec})\">\r\n";
-print " <span class=\"name\" id=\"layer_starttime\">{$smin}{$ssec}</span>";
+print " <span class=\"name\" id=\"layer_starttime\">{$smin}h{$ssec}</span>";
print " <span class=\"arrow\"></span>";
print " </a>";
print " </li>\r\n";
@@ -68,7 +68,7 @@ $emin = substr($etime, 0, 2);
$esec = substr($etime, 2);
print " <li class=\"menu\"><a class=\"noeffect\" href=\"javascript:openSelectTime('layer_endtime',{$emin},{$esec})\">\r\n";
-print " <span class=\"name\" id=\"layer_endtime\">{$emin}{$esec}</span><span class=\"arrow\"></span></a></li>\r\n";
+print " <span class=\"name\" id=\"layer_endtime\">{$emin}h{$esec}</span><span class=\"arrow\"></span></a></li>\r\n";
print " </ul>\r\n";
print "<input name=\"action\" type=\"hidden\" id=\"action\" value=\"addtimer\"/>\r\n";
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();
}