From 2feb24955b47a9c712bd3bfb83e080206aa32ed2 Mon Sep 17 00:00:00 2001 From: Naveen Peter Johny Date: Fri, 9 Oct 2020 11:57:04 +0530 Subject: [PATCH] modified growl provider sendMessage to check if config has onclick function and add it to message --- src/growlFactory.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/growlFactory.js b/src/growlFactory.js index 609c454..b02a264 100644 --- a/src/growlFactory.js +++ b/src/growlFactory.js @@ -260,7 +260,8 @@ angular.module("angular-growl").provider("growl", function () { message.text = $sce.trustAsHtml(String(newText)); }, onclose: _config.onclose, - onopen: _config.onopen + onopen: _config.onopen, + onclick: _config.onclick }; return broadcastMessage(message);