You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm still facing an issue with closing the pnotify notification. I'm using bootstrap3 for styling.
My closer button looks like this:
image
I have a function called displayErrorMessage = function(msg){
var error = new PNotify({
});
}.
outside this function, in the same file, i have another function called eventTriggers. within this function, I have written:
var errorMsg = nx.common.displayErrorMessage();
$('.ui-pnotify-closer*').click(function(){
errorMsg.remove();
});
My main aim is to remove the notif upon clicking the 'X' button. I've read some places that if you have history attribute in the PNotify instantiation, then closing the button may not work. I'm not entirely sure though, can someone help me with this.
Hi, I'm still facing an issue with closing the pnotify notification. I'm using bootstrap3 for styling.
My closer button looks like this:
image
I have a function called displayErrorMessage = function(msg){
var error = new PNotify({
});
}.
outside this function, in the same file, i have another function called eventTriggers. within this function, I have written:
var errorMsg = nx.common.displayErrorMessage();
$('.ui-pnotify-closer*').click(function(){
errorMsg.remove();
});
My main aim is to remove the notif upon clicking the 'X' button. I've read some places that if you have history attribute in the PNotify instantiation, then closing the button may not work. I'm not entirely sure though, can someone help me with this.
Thanks! @ #41 @hperrin
The text was updated successfully, but these errors were encountered: