mirror of https://gitee.com/bigwinds/arangodb
query view copy to editor bugfix
This commit is contained in:
parent
2a571d1f6b
commit
d9347f576b
|
@ -1223,6 +1223,11 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#outputEditorWrapper' + counter + ' #copy2aqlEditor').bind('click', function() {
|
$('#outputEditorWrapper' + counter + ' #copy2aqlEditor').bind('click', function() {
|
||||||
|
|
||||||
|
if (!$('#toggleQueries1').is(':visible')) {
|
||||||
|
self.toggleQueries();
|
||||||
|
}
|
||||||
|
|
||||||
var aql = ace.edit("sentQueryEditor" + counter).getValue();
|
var aql = ace.edit("sentQueryEditor" + counter).getValue();
|
||||||
var bindParam = JSON.parse(ace.edit("sentBindParamEditor" + counter).getValue());
|
var bindParam = JSON.parse(ace.edit("sentBindParamEditor" + counter).getValue());
|
||||||
self.aqlEditor.setValue(aql);
|
self.aqlEditor.setValue(aql);
|
||||||
|
|
Loading…
Reference in New Issue