In any case, the shorts and longs of the story is that they screwed the Element#hidden() method, which broke down several UI units, Autocompleter, Calendar, Lightbox, Selectable and Tooltips.
I've published a package for you over here RightJS 1 UI Fixes. It has patched builds of all those widgets, plus a fresh RightJS 1 build with backports from RightJS 2.
If this core-build will cause you troubles, you can patch your own by a simple line of code like that
Element.insert({
visible: function() {
return this.getStyle('display') !== 'none';
}
});
And don't use the Element#hidden() method in your code, use Element#visible() instead.
Also think about moving to RightJS2, it works with wrappers and therefore doesn't have such issues by design.
No comments:
Post a Comment