fabien-d / alertify.js

JavaScript Alert/Notification System
http://fabien-d.github.com/alertify.js/
4.26k stars 725 forks source link

Repeated display #134

Closed jjsaunier closed 11 years ago

jjsaunier commented 11 years ago

My version is 0.3.8 (lastest stable) for Alertify and jQuery 1.9

I will try explain you the problem.

So, when you use the following code :

    $("#element").on("change", function(){
       callback($(this));
    });

    function callback($object){
       alertify.success("Hello world");
    }

If you change the value of select input type, alertify will take a weird behaviour. He count how many times you change her value, and when he will displaying the message box, several message will appear, proportionally at the count of you change the statement of select box

fabien-d commented 11 years ago

I'm not really sure what the issue is - any chance you could provide a working code sample of the issue?

georaldc commented 11 years ago

If you're talking about the stacking messages, I believe that is its normal behavior

jjsaunier commented 11 years ago

I have tried to repeat the bug on jsFiddle, impossible. And i have found the issue (on my side), some js code before this make this behaviour.

@georaldc nope, when i triggered the event, that stack 4 messages box in same time. In normal case it's one event trigerred equal one message.

So it's not a bug.