On Tue, 12 Aug 2008 17:07:40 +0200
Federico Fanton <[EMAIL PROTECTED]> wrote:
> I tried that, but nothing changed :/ Same "Invalid procedure call or
> argument" under IE7.. (still Ok in FF2)
After a bit of debugging, I found the "offending" command inside wicket-ajax.js:
t.setRequestHeader("Wicket-FocusedElementId", Wicket.Focus.lastFocusId || "");
I think the problem arises when lastFocusId is empty.. I tried replacing the
command with
t.setRequestHeader("Wicket-FocusedElementId", "");
and the error is still there.. So, it looks like the AJAX transport of IE7
doesn't allow empty header values.. Would a patch like the following be ok?
if(Wicket.Focus.lastFocusId != '')
t.setRequestHeader("Wicket-FocusedElementId", Wicket.Focus.lastFocusId);
Or is there something that expects that header to be there (even if with empty
value)?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]