AlertifyJS icon indicating copy to clipboard operation
AlertifyJS copied to clipboard

Notify & modal

Open LordMandrake opened this issue 1 year ago • 2 comments

Hi, I'm trying to make a notify alert in modal but I dont understand why it's not possible.

I have:

function MessageError(titulo, contenido, notificar, doAfterFn, doAfterFnTime) { var mensaje = '<div class="ajs-sidu-error" >' + '<div class="ajs-sidu-message-icon">' + '<i class="fa fa-times"></i>' + '</div>' + '<div class="ajs-sidu-message-body">' + contenido + '</div></div>'; ` var timeAutoClose = 0;` ` if (doAfterFnTime != null) timeAutoClose = doAfterFnTime;` if (notificar) { alertify.set('notifier', 'position', 'top-center'); `` if (doAfterFn == null) alertify.notify(mensaje, 'sidu-message', timeAutoClose, function () { }); else alertify.notify(mensaje, 'sidu-message', timeAutoClose, doAfterFn); } else { return mensaje; } }

and works perfect but I don't get the alertify in modal, Could anyone help me ???

Thanks a lot !!!

LordMandrake avatar Jan 31 '23 12:01 LordMandrake

What do you mean by you don't get the alertify in modal ? Can you provide a working sample ?

MohammadYounes avatar Feb 01 '23 10:02 MohammadYounes

That's the working example ... I'm trying to show a notify in modal mode. The notufy works perfects but the main page still working and not blocked.

LordMandrake avatar Apr 12 '23 10:04 LordMandrake