1
0
Fork 0

query view copy to editor bugfix

This commit is contained in:
hkernbach 2016-03-29 15:23:10 +02:00
parent 2a571d1f6b
commit d9347f576b
1 changed files with 5 additions and 0 deletions

View File

@ -1223,6 +1223,11 @@
});
$('#outputEditorWrapper' + counter + ' #copy2aqlEditor').bind('click', function() {
if (!$('#toggleQueries1').is(':visible')) {
self.toggleQueries();
}
var aql = ace.edit("sentQueryEditor" + counter).getValue();
var bindParam = JSON.parse(ace.edit("sentBindParamEditor" + counter).getValue());
self.aqlEditor.setValue(aql);