summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2016-03-20 00:21:23 -0700
committerNOYB <Al_Stu@Frontier.com>2016-03-20 00:21:23 -0700
commite70fc6f7acbe1864ed0793fb6c19e818e27c239e (patch)
tree1baa3bdd8d7f85e82104e851700c544b9c4b8894 /src
parentd3f3b75f1a1a7428600c078540a8ea46cb70f475 (diff)
downloadpfsense-e70fc6f7acbe1864ed0793fb6c19e818e27c239e.zip
pfsense-e70fc6f7acbe1864ed0793fb6c19e818e27c239e.tar.gz
HTML Compliance - Firewall / Schedules / Edit
Error: Duplicate ID tempFriendlyTime.
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/firewall_schedule_edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/firewall_schedule_edit.php b/src/usr/local/www/firewall_schedule_edit.php
index 14f9d0c..46fda6f 100644
--- a/src/usr/local/www/firewall_schedule_edit.php
+++ b/src/usr/local/www/firewall_schedule_edit.php
@@ -625,7 +625,7 @@ if ($getSchedule) {
$group = new Form_Group('');
$group->add(new Form_Input(
- 'tempFriendlyTime',
+ 'tempFriendlyTime' . $counter,
null,
'text',
$tempFriendlyTime
@@ -1138,9 +1138,9 @@ function insertElements(tempFriendlyTime, starttimehour, starttimemin, stoptimeh
// Template for the schedule definition. '@' will be replaced with the row number using .replace()
rowhtml =
'<div class="form-group schedulegrp' + counter + '">' +
- '<label for="tempFriendlyTime" class="col-sm-2 control-label"></label>' +
+ '<label for="tempFriendlyTime@" class="col-sm-2 control-label"></label>' +
'<div class="col-sm-2">' +
- '<input class="form-control" name="tempFriendlyTime" id="tempFriendlyTime" type="text" value="' + tempFriendlyTime + '"/>' +
+ '<input class="form-control" name="tempFriendlyTime@" id="tempFriendlyTime@" type="text" value="' + tempFriendlyTime + '"/>' +
'<span class="help-block">Day(s)</span>' +
'</div>' +
'<div class="col-sm-2">' +
OpenPOWER on IntegriCloud