I found a bug when using the confirm module whitout the history module : when I close a Modal Confirm dialog, the black overlay isn't removed. After hours of searching, I've found that the objects inside the array PNotify.notices have the option destroy=true, and with I use the history module, this option is set to false.
So this part of code is executed and remove too early the object :
if (that.options.destroy) {
if (PNotify.notices !== null) {
var idx = $.inArray(that,PNotify.notices);
if (idx !== -1) {
PNotify.notices.splice(idx,1);
}
}
}
I found a bug when using the confirm module whitout the history module : when I close a Modal Confirm dialog, the black overlay isn't removed. After hours of searching, I've found that the objects inside the array PNotify.notices have the option destroy=true, and with I use the history module, this option is set to false. So this part of code is executed and remove too early the object :
Anyway, thanks for the great job you've done ! :)