Permalink
Browse files

webadmin: Support javascript-disabled browsers.

  • Loading branch information...
1 parent 4865a2d commit 4b3b0a55353fad89759223ce11580864db100721 @DarthGandalf DarthGandalf committed Mar 23, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 modules/data/webadmin/tmpl/add_edit_network.tmpl
@@ -84,14 +84,15 @@
<div class="subsection">
<div class="inputlabel">Flood protection rate:</div>
<div><input type="number" name="floodrate" min="0.3" step="0.05" id="floodrate"
- <? IF FloodProtection ?> value="<? VAR FloodRate ?>" <? ELSE ?> value="1.00" disabled="disabled" <? ENDIF ?> /> seconds per line</div>
+ <? IF FloodProtection ?> value="<? VAR FloodRate ?>" <? ELSE ?> value="1.00" <? ENDIF ?> /> seconds per line</div>
</div>
<div class="subsection">
<div class="inputlabel">Flood protection burst:</div>
<div><input type="number" name="floodburst" min="1" id="floodburst"
- <? IF FloodProtection ?> value="<? VAR FloodBurst ?>" <? ELSE ?> value="4" disabled="disabled" <? ENDIF ?> /> lines can be send immediately</div>
+ <? IF FloodProtection ?> value="<? VAR FloodBurst ?>" <? ELSE ?> value="4" <? ENDIF ?> /> lines can be send immediately</div>
</div>
+ <script type="text/javascript">floodprotection_change();</script>
<div style="clear: both;"></div>
</div>
</div>

0 comments on commit 4b3b0a5

Please sign in to comment.