mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 00:54:08 +02:00
Syntax highlight just the new message
This commit is contained in:
@@ -534,7 +534,7 @@ function ajaxForm(form, message, button) {
|
|||||||
return ajax(url, function (request) {
|
return ajax(url, function (request) {
|
||||||
setHtml('message', request.responseText);
|
setHtml('message', request.responseText);
|
||||||
if (window.jush) {
|
if (window.jush) {
|
||||||
jush.highlight_tag('code', 0);
|
jush.highlight_tag(document.getElementById('message').getElementsByTagName('code'), 0);
|
||||||
}
|
}
|
||||||
}, data);
|
}, data);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user