diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-03-31 16:38:24 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-03-31 16:38:48 -0300 |
commit | 5c757d82d84c5363cd5c3d1b3df7d8bf1c641388 (patch) | |
tree | c720ca69384b640e637e39521ad059c75b267db0 /usr | |
parent | 291e0a1c88bb27eab054b40c8ed5b79804d100a3 (diff) | |
download | pfsense-5c757d82d84c5363cd5c3d1b3df7d8bf1c641388.zip pfsense-5c757d82d84c5363cd5c3d1b3df7d8bf1c641388.tar.gz |
Fix #3555, on chrome it is not initializing correct minutes when adding a new time, just drop unused php variables and set it on js
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/firewall_schedule_edit.php | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/usr/local/www/firewall_schedule_edit.php b/usr/local/www/firewall_schedule_edit.php index 1ff324b..4b361b1 100644 --- a/usr/local/www/firewall_schedule_edit.php +++ b/usr/local/www/firewall_schedule_edit.php @@ -60,12 +60,6 @@ require_once("shaper.inc"); $pgtitle = array(gettext("Firewall"),gettext("Schedules"),gettext("Edit")); -$starttimehr = 00; -$starttimemin = 00; - -$stoptimehr = 23; -$stoptimemin = 59; - $dayArray = array (gettext('Mon'),gettext('Tues'),gettext('Wed'),gettext('Thur'),gettext('Fri'),gettext('Sat'),gettext('Sun')); $monthArray = array (gettext('January'),gettext('February'),gettext('March'),gettext('April'),gettext('May'),gettext('June'),gettext('July'),gettext('August'),gettext('September'),gettext('October'),gettext('November'),gettext('December')); @@ -669,10 +663,10 @@ function clearCalendar(){ } function clearTime(){ - document.getElementById("starttimehour").value = $starttimehr; - document.getElementById("starttimemin").value = $starttimemin; - document.getElementById("stoptimehour").value = $stoptimehr; - document.getElementById("stoptimemin").value = $stoptimemin; + document.getElementById("starttimehour").value = "0"; + document.getElementById("starttimemin").value = "00"; + document.getElementById("stoptimehour").value = "23"; + document.getElementById("stoptimemin").value = "59"; } function clearDescr(){ |