Preserve the query when saving to the micro history

This commit is contained in:
Madhura Jayaratne 2012-12-01 07:23:32 +05:30
parent 100b07c10d
commit 061bfabed0

View File

@ -3330,6 +3330,7 @@ AJAX.registerOnload('functions.js', function() {
});
AJAX.registerTeardown('functions.js', function() {
if (codemirror_editor) {
$('#sqlquery').text(codemirror_editor.getValue());
codemirror_editor.toTextArea();
codemirror_editor = false;
}