-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confirm with Alert in result #147
Comments
This seems like it may be an event bubbling issue. I remember having something similar with chaining alertify dialogs but has been fixed. Instead of using
^ from the jQuery docs. And the If that doesn't work - could you try providing a working demo? I've tried calling, on the docs page, an alert dialog after the confirm without issues (w and w/o delay) alertify.confirm('test', function (e) {
if (e) {
setTimeout( function () { alertify.alert('blah'); }, 1000);
} else {
alertify.alert('cancel');
}
}); |
Still can't get it to work. Here is a 'non' working example: On 3 July 2013 13:31, Fabien Doiron [email protected] wrote:
|
Could you confirm if this is only happening using the keyboard? It's the only way I have been able to reproduce... I haven't been able to reproduce in |
I can confirm it doesn't work with either the mouse or the keyboard. The jsfiddle will show you it not working. I may have done something incorrect... The button on the jsfiddle is only clickable once, which is odd... |
the clicking once is another issue - there is a temporary fix at issue #138. So there is a bug in the alertify code. In the hide method, I set I'll have to dig a bit more and tweak some of the functionality around this. |
Would it be better if I upgraded to version 4? I think you said you fixed On 3 July 2013 14:56, Fabien Doiron [email protected] wrote:
|
I wasn't able to reproduce - but I haven't tested it with your example so I can say for sure it will work. 0.4 is in release candidate, so it hasn't been fully tested and it's a completely new API (can't just swap 0.3 for 0.4). You can see the demo site and see if you want to give it a go. I'm hoping to get more time to work on alertify and get |
I've just checked my non working demo and it seems to work fine now. A little bit strange as I am hosting the JS file myself and I haven't changed it. Anyway, it works, so I'm closing this issue.... Thanks for your help. |
I have a confirm which, in turn calls an ajax call, and if the ajax call returns something invalid, an alert is shown.
The confirm works fine, but the alert flashes up and then disappears without me being able to read it.
Cut down version of the code here: http://pastebin.com/uW4Z8W9i
I have replaced the alertify alert, with a standard alert and I get the result I require but without the nice look... I'd love to be able to resolve this and have an alertify alert.
This is running in Chrome 27.0, on alertify v3.9
The text was updated successfully, but these errors were encountered: