Title: [opsview] [9818] Altered the form so it doesn't inherit 800px width.
Revision
9818
Author
pknight
Date
2012-08-13 16:07:53 +0100 (Mon, 13 Aug 2012)

Log Message

Altered the form so it doesn't inherit 800px width.

Modified Paths


Modified: trunk/opsview-web/root/status/set
===================================================================
--- trunk/opsview-web/root/status/set	2012-08-13 15:07:22 UTC (rev 9817)
+++ trunk/opsview-web/root/status/set	2012-08-13 15:07:53 UTC (rev 9818)
@@ -8,7 +8,7 @@
 
 %]
 <div id="hh" class="ie_push_down">
-<form class="admin" method="post" id="main_form" name="main_form">
+<form method="post" id="set_form" name="set_form">
 <fieldset>
 <legend>[% c.loc("ui.set.service.help.submitCheckResult") | html %]</legend>
 
@@ -52,7 +52,7 @@
 </fieldset>
 
 <script type="text/_javascript_">
-new Validation("main_form", {immediate: true});
+new Validation("set_form", {immediate: true});
 </script>
 
 <br class="clear"/>
@@ -140,5 +140,5 @@
 </form>
 </div>
 <script type="text/_javascript_">
-Event.observe('main_form', 'submit', function(evt) { if ($('comment').value == "") { alert("[% c.loc("ui.acknowledgements.message.missingComments") | escape_js_string %]"); Event.stop(evt) } }, false );
+Event.observe('set_form', 'submit', function(evt) { if ($('comment').value == "") { alert("[% c.loc("ui.acknowledgements.message.missingComments") | escape_js_string %]"); Event.stop(evt) } }, false );
 </script>

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to