mirror of https://github.com/apache/lucene.git
SOLR-2455: Prevent double submit of forms in admin interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1089335 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2fe7952ce9
commit
c914b3066a
|
@ -246,6 +246,9 @@ Bug Fixes
|
|||
* SOLR-2445: Change the default qt to blank in form.jsp, because there is no "standard"
|
||||
request handler unless you have it in your solrconfig.xml explicitly. (koji)
|
||||
|
||||
* SOLR-2455: Prevent double submit of forms in admin interface.
|
||||
(Jeffrey Chang via uschindler)
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
<td>
|
||||
</td>
|
||||
<td>
|
||||
<input class="stdbutton" type="submit" value="search" onclick="if (queryForm.q.value.length==0) { alert('no empty queries, please'); return false; } else { queryForm.submit(); } ">
|
||||
<input class="stdbutton" type="submit" value="search" onclick="if (queryForm.q.value.length==0) { alert('no empty queries, please'); return false; } else { queryForm.submit(); return false;} ">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -125,7 +125,7 @@
|
|||
<input name="rows" type="hidden" value="10">
|
||||
<input name="indent" type="hidden" value="on">
|
||||
<br><input class="stdbutton" type="submit" value="search"
|
||||
onclick="if (queryForm.q.value.length==0) { alert('no empty queries, please'); return false; } else { queryForm.submit(); } ">
|
||||
onclick="if (queryForm.q.value.length==0) { alert('no empty queries, please'); return false; } else { queryForm.submit(); return false;} ">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue