Use a more sensible name for Query Tool tabs. Fixes #2482

This commit is contained in:
Surinder Kumar
2017-06-13 11:34:13 +01:00
committed by Dave Page
parent 467825c2d1
commit 57d866f7b7
4 changed files with 49 additions and 31 deletions

View File

@@ -110,12 +110,11 @@ define([
// This function is used to render the template.
render: function() {
var self = this;
var self = this,
filter = self.$el.find('#sql_filter');
$('.editor-title').text(_.unescape(self.editor_title));
var filter = self.$el.find('#sql_filter');
self.filter_obj = CodeMirror.fromTextArea(filter.get(0), {
lineNumbers: true,
matchBrackets: true,