Use the new notification onClick api in places

This commit is contained in:
Johannes Zellner
2019-01-07 17:30:01 +01:00
parent 48f63ec761
commit 59c7c1e302
3 changed files with 7 additions and 50 deletions

View File

@@ -193,12 +193,7 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
/*
Example usage with an action:
var actionScope = $scope.$new(true);
actionScope.action = '/#/certs';
Client.notify('title', 'message', true, actionScope);
If `action` is a non-empty string, it will be treated as a url, if it is a function, that function will be exectued on click
*/
Client.prototype.notify = function (title, message, persistent, type, action) {