mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +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) {
|
||||
setHtml('message', request.responseText);
|
||||
if (window.jush) {
|
||||
jush.highlight_tag('code', 0);
|
||||
jush.highlight_tag(document.getElementById('message').getElementsByTagName('code'), 0);
|
||||
}
|
||||
}, data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user