Pull-request: #15884 Fixes: #15880 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
a0b903e626
@ -438,8 +438,8 @@ AJAX.registerOnload('sql.js', function () {
|
||||
* @name appendToggleSpan
|
||||
*/
|
||||
// do not add this link more than once
|
||||
if (! $('#sqlqueryform').find('a').is('#togglequerybox')) {
|
||||
$('<a id="togglequerybox"></a>')
|
||||
if (! $('#sqlqueryform').find('button').is('#togglequerybox')) {
|
||||
$('<button class="btn btn-secondary" id="togglequerybox"></button>')
|
||||
.html(Messages.strHideQueryBox)
|
||||
.appendTo('#sqlqueryform')
|
||||
// initially hidden because at this point, nothing else
|
||||
|
||||
@ -81,4 +81,4 @@
|
||||
{# This sqlqueryform div is used to load the delete form in the db search #}
|
||||
</div>
|
||||
{# Toggle query box link #}
|
||||
<a id="togglequerybox"></a>
|
||||
<button class="btn btn-secondary" id="togglequerybox"></button>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user