reload list when viewmode changes (#62)

This commit is contained in:
Athou
2013-05-06 12:23:55 +02:00
parent 0983920403
commit 8c70f255c2

View File

@@ -377,6 +377,7 @@ function($scope, $http, $state, $stateParams, $route, $location,
newValue, oldValue) { newValue, oldValue) {
if (newValue && oldValue && newValue != oldValue) { if (newValue && oldValue && newValue != oldValue) {
SettingsService.save(); SettingsService.save();
$scope.$emit('emitReload');
} }
}); });
$scope.refresh = function() { $scope.refresh = function() {