Fix for reloadOnSearch missing on all dashboard routes, caused dashboard to be reloaded when entering/exiting edit mode (settings were lost), related to recent fullscreen/edit state present in url, #672, #425

This commit is contained in:
Torkel Odegaard
2014-08-21 10:36:18 +02:00
parent 1bc8526640
commit 7c3046e011
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -16,10 +16,12 @@ function (angular) {
.when('/dashboard/elasticsearch/:id', {
templateUrl: 'app/partials/dashboard.html',
controller : 'DashFromDBProvider',
reloadOnSearch: false,
})
.when('/dashboard/temp/:id', {
templateUrl: 'app/partials/dashboard.html',
controller : 'DashFromDBProvider',
reloadOnSearch: false,
});
});
+1
View File
@@ -14,6 +14,7 @@ function (angular, $, config, _) {
.when('/dashboard/file/:jsonFile', {
templateUrl: 'app/partials/dashboard.html',
controller : 'DashFromFileProvider',
reloadOnSearch: false,
});
});