mirror of
https://github.com/getredash/redash.git
synced 2025-12-22 19:03:26 -05:00
Fixing PR #112 as discussed with Arik
This commit is contained in:
@@ -282,6 +282,13 @@
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
unbind = $scope.$watch('selectedTab == "add"', function(newPanel) {
|
||||
if (newPanel && $routeParams.queryId == undefined) {
|
||||
unbind();
|
||||
$scope.saveQuery();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
var QueriesCtrl = function($scope, $http, $location, $filter, Query) {
|
||||
|
||||
Reference in New Issue
Block a user