mirror of
https://github.com/vrana/adminer.git
synced 2025-08-20 13:21:30 +02:00
Fix displaying SQL command after Save and continue edit
This commit is contained in:
@@ -72,9 +72,10 @@ function typePassword(el, disable) {
|
||||
}
|
||||
|
||||
/** Install toggle handler
|
||||
* @param [HTMLElement]
|
||||
*/
|
||||
function messagesPrint() {
|
||||
var els = qsa('.toggle', document);
|
||||
function messagesPrint(el) {
|
||||
var els = qsa('.toggle', el || document);
|
||||
for (var i = 0; i < els.length; i++) {
|
||||
els[i].onclick = partial(toggle, els[i].getAttribute('href').substr(1));
|
||||
}
|
||||
|
@@ -672,6 +672,7 @@ function ajaxForm(form, message, button) {
|
||||
if (window.jush) {
|
||||
jush.highlight_tag(qsa('code', qs('#ajaxstatus')), 0);
|
||||
}
|
||||
messagesPrint(qs('#ajaxstatus'));
|
||||
}, data, message);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user