EasyUI Forum

General Category => Bug Report => Topic started by: Ellipsis on February 13, 2013, 01:35:06 AM



Title: recursive bug in jquery.combo.js
Post by: Ellipsis on February 13, 2013, 01:35:06 AM
On line 79 in jquery.combo.js the following line causes a recursive bug on page loading.

$(document).unbind(".combo").bind("mousedown.combo",function(e){

I replaced it with the following line (and used the new off instead of unbind).

$(".combo").off().mousedown(function(e){

I'm not convinced that this will be the correct solution, perhaps you can look at it.

It also seems a bit odd because the code removes the events from all the .combo objects on the loaded page.

The message in the chrome console:
Uncaught RangeError: Maximum call stack size exceeded