Use the new notification onClick api in places
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user