summaryrefslogtreecommitdiff
path: root/htroot
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2017-03-30 10:23:47 +0200
committerluccioman <luccioman@users.noreply.github.com>2017-03-30 10:23:47 +0200
commit39ffa42a3c9fb8f44716309d8a5f48c354bf24ae (patch)
tree48bfd311ecb85be914f971fa2a16e81e9ebeddca /htroot
parentaf28a07780452575cf945d7617daa4a2a1ca114d (diff)
Modified RWI settings page radio click event to use HTTP POST
Diffstat (limited to 'htroot')
-rw-r--r--htroot/IndexControlRWIs_p.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/htroot/IndexControlRWIs_p.html b/htroot/IndexControlRWIs_p.html
index ef9f62738..1efc15f4a 100644
--- a/htroot/IndexControlRWIs_p.html
+++ b/htroot/IndexControlRWIs_p.html
@@ -28,15 +28,16 @@
#(limitations)#::
<form action="IndexControlRWIs_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
+ <input type="hidden" name="maxReferencesLimit" value="Set References Limit" />
<input type="hidden" name="transactionToken" value="#[transactionToken]#" />
<fieldset><legend>Limitations</legend>
<dl>
<dt class="TableCellDark">Index Reference Size</dt>
- <dd><input type="radio" name="maxReferencesRadio" id="maxReferencesRadioOff" value="off" #(maxReferencesRadioChecked)#checked="checked"::#(/maxReferencesRadioChecked)# onclick="window.location.href='IndexControlRWIs_p.html?maxReferencesRadio=off&maxReferencesLimit='"/>
+ <dd><input type="radio" name="maxReferencesRadio" id="maxReferencesRadioOff" value="off" #(maxReferencesRadioChecked)#checked="checked"::#(/maxReferencesRadioChecked)# onclick="this.form.submit()"/>
No reference size limitation (this may cause strong CPU load when words are searched that appear very often)<br/>
- <input type="radio" name="maxReferencesRadio" id="maxReferencesRadioOn" value="on" #(maxReferencesRadioChecked)#::checked="checked"#(/maxReferencesRadioChecked)# onclick="window.location.href='IndexControlRWIs_p.html?maxReferencesRadio=on&maxReferencesLimit=&maxReferences=#[maxReferences]#'"/>
+ <input type="radio" name="maxReferencesRadio" id="maxReferencesRadioOn" value="on" #(maxReferencesRadioChecked)#::checked="checked"#(/maxReferencesRadioChecked)# onclick="this.form.submit()"/>
Limitation of number of references per word: <input type="text" name="maxReferences" value="#[maxReferences]#" size="9" maxlength="12" onfocus="document.getElementById('maxReferencesRadioOff').checked = false;document.getElementById('maxReferencesRadioOn').checked = true"/> (this causes that old references are deleted if that limit is reached)<br/><br/>
- <input type="submit" name="maxReferencesLimit" id="maxReferencesLimit" value="Set References Limit" class="btn btn-primary" style="width:240px;"/>
+ <button type="submit" id="maxReferencesLimit" class="btn btn-primary" style="width:240px;">Set References Limit</button>
</dd>
</dl>
</fieldset>