refactoring unsavedChangesSrv and who now owns original

This commit is contained in:
Torkel Ödegaard committed 2014-05-27 17:17:12 +02:00
1 parent 9f548b9dee
commit 8ca06e11de
3 files changed
+16 -10

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ function (angular, _, moment) {
$scope.share = dashboard.share_link(dashboard.current.title,'temp',result._id);
}
$rootScope.$emit('dashboard-saved');
$rootScope.$emit('dashboard-saved', dashboard.current);
});
};