I must be hallucinating I swear this was working on friday.
I just checked it and the same problem seems to be occuring in IE6/7 http://devweb1.ttisolutions.com/jqueryTests/blockui/ malsup wrote: > > > Thanks for the fix, Ted! Great work! I've made the change and checked > it in. > > http://jqueryjs.googlecode.com/svn/trunk/plugins/blockUI/jquery.blockUI.js > > Mike > > > On 9/13/07, Theodore Ni <[EMAIL PROTECTED]> wrote: >> I took a quick look at the blockUI code, and you can fix the problem by >> changing the bind function to this: >> >> // bind/unbind the handler >> bind: function(b, el) { >> var full = el == window; >> // don't bother unbinding if there is nothing to unbind >> if (!b && (full && !this.pageBlock || !full && !el.$blocked)) >> return; >> if (!full) el.$blocked = b; >> var $e = $(el).find('a,:input'); >> >> $.each(['mousedown','mouseup','keydown','keypress','click'], >> function(i,o) { >> $e[b?'bind':'unbind'](o, $.blockUI.impl.handler); >> }); >> }, >> >> I don't know if this will have any other side effects, so use with care >> until Mike can let us know for sure. >> >> >> On 9/13/07, seedy < [EMAIL PROTECTED]> wrote: >> > >> > >> > sorry for the delay, finally got one up >> > >> > http://devweb1.ttisolutions.com/jqueryTests/blockui/ >> > >> > The problem seems to happen in all browsers I test it in, althought the >> > element blocking doesnt seem to have a problem in firefox. >> > >> > >> > >> > malsup wrote: >> > > >> > > >> > > Do you have a sample page that shows the problem? That would be >> > > helpful for me. Thanks. >> > > >> > > Mike >> > > >> > > >> > > On 9/5/07, seedy <[EMAIL PROTECTED]> wrote: >> > >> >> > >> >> > >> Setting the fade to false does not appear to be solving the issue >> for >> me. >> > >> >> > >> >> > >> >> > >> malsup wrote: >> > >> > >> > >> > seedy, >> > >> > >> > >> > Try adding this to your page: >> > >> > >> > >> > $.blockUI.defaults.fadeOut = false; >> > >> > >> > >> > I think this is an issue with animation. >> > >> > >> > >> > Mike >> > >> > >> > >> > >> > >> > >> > >> > On 9/4/07, seedy < [EMAIL PROTECTED]> wrote: >> > >> >> >> > >> >> >> > >> >> >> > >> >> Has anyone been able to reproduce this or am I just crazy ? >> > >> >> >> > >> >> >> > >> >> seedy wrote: >> > >> >> > >> > >> >> > I have a few checkboxes that fire an ajax request, and use >> blockUI >> > >> to >> > >> >> > block an element during this request. >> > >> >> > Problem is, the checkbox gets 'unchecked' whenever blockUI >> shows >> up. >> > >> >> > Its reproducible with the following code (appears to not just >> affect >> > >> >> > element blocking) >> > >> >> > >> > >> >> > <html> >> > >> >> > <body> >> > >> >> > <input type=checkbox>check me </input> >> > >> >> > </body> >> > >> >> > <script lang="javascript" type="text/javascript" >> > >> >> > src="jquery-1.1.4.pack.js" ></script> >> > >> >> > <script lang="javascript" type="text/javascript" >> > >> >> src="jquery.blockUI.js" >> > >> >> > ></script> >> > >> >> > <script> >> > >> >> > $(function(){ >> > >> >> > $('input:checkbox').click(function(){ >> alert('booga'); >> > >> >> $.blockUI(); >> > >> >> }); >> > >> >> > }); >> > >> >> > </script> >> > >> >> > </html> >> > >> >> > >> > >> >> > You will see the box get checked, then when the alert goes >> away, >> it >> > >> >> > magically becomes unchecked. Any ideas? >> > >> >> > >> > >> >> >> > >> >> -- >> > >> >> View this message in context: >> > >> >> >> > >> >> http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12478271 >> > >> >> Sent from the JQuery mailing list archive at Nabble.com. >> > >> >> >> > >> >> >> > >> > >> > >> > >> > >> >> > >> -- >> > >> View this message in context: >> > >> >> http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12499248 >> > >> Sent from the JQuery mailing list archive at Nabble.com. >> > >> >> > >> >> > > >> > > >> > >> > -- >> > View this message in context: >> http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12661238 >> > Sent from the JQuery mailing list archive at Nabble.com. >> > >> > >> >> >> >> -- >> Ted > > -- View this message in context: http://www.nabble.com/blockUI-IE6-checkbox-tf4361472s15494.html#a12738901 Sent from the JQuery mailing list archive at Nabble.com.