mirror of https://gitee.com/bigwinds/arangodb
bugfix queries
This commit is contained in:
parent
b75beccefb
commit
dad88314bc
|
@ -187,9 +187,11 @@ var queryView = Backbone.View.extend({
|
||||||
var quit = false;
|
var quit = false;
|
||||||
$.each(this.customQueries, function(k,v) {
|
$.each(this.customQueries, function(k,v) {
|
||||||
if (e.target.id !== 'save-edit-query') {
|
if (e.target.id !== 'save-edit-query') {
|
||||||
|
if (v.name === queryName) {
|
||||||
quit = true;
|
quit = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (v.name !== queryName) {
|
if (v.name !== queryName) {
|
||||||
tempArray.push({
|
tempArray.push({
|
||||||
name: v.name,
|
name: v.name,
|
||||||
|
|
Loading…
Reference in New Issue