Skip to content

Notify & modal #258

@LordMandrake

Description

@LordMandrake

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 !!!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions