You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll need to go back through the code history. There is a bit of history to this section of code:
The first implementation was done using string concat on selected options.
The 2nd implementation used .val() on the selector. We then ended up having a few bug requests filed. From memory around multi-select cases in some browsers.
Then it was reverted back to the old method.
If it is a considerable performance issue, it might be worth digging through the issue history and seeing how we can phase in without the regression.
I realized my large select (with Chosen) get very slow when i was using AreYouSure...
So, first i thought the problem was in chosen.. but, wasn't..
The problem were here: https://github.com/codedance/jquery.AreYouSure/blob/master/jquery.are-you-sure.js#L53-L57
I think this loop $.each is unnecessary, and i changed these lines to:
Apparently, everthing works fine. So, i suggest this change, if possible.
The text was updated successfully, but these errors were encountered: