You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Matej Knopp <ma...@gmail.com> on 2009/02/09 18:51:11 UTC

Re: Bug modal.js when wicket in production mode / setStripJavascriptCommentsAndWhitespace(true)

Hi,

thanks for the report. Should be fixed in SVN.

-Matej

On Mon, Feb 9, 2009 at 5:35 PM, Antoine Angenieux
<aa...@clinigrid.com> wrote:
> Hi all,
>
> I can't tell you from which version it started, but in wicket-1.3 (as from
> the latest version on SVN), as soon as I do a
> setStripJavascriptCommentsAndWhitespace(true) or set the wicket mode to
> production, I get javascript errors in modal.js : (line 64 / 65 of the
> received javascript)
>
> e.clientX = evt.clientX + Wicket.Iframe.findPosX(iframe) - dx;
> e.clientY = evt.clientY + Wicket.Iframe.findPosY(iframe) - dy;
> doc.onmousemove(e); } idoc.old_onmouseup = idoc.old_onmousemove;
> idoc.onmouseup = function(evt) {
>
> Both IE (6&7) and firefox (1.5+,2+) complain about the } right before
> idoc.old_onmouseoup =...
>
> Did anyone else encounter this ? Should I oppen a JIRA ticket ?
>
> Thanks in advance,
>
> Cheers,
>
> Antoine.
>
> PS: I did not have enough time to check if the behavior was the same in 1.4
> trunk.
>
> --
> Antoine Angénieux
> Associé
>
> Clinigrid
> 5, avenue Mozart
> 75016 Paris, France
> +336 60 21 09 18
> aangenieux@clinigrid.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Bug modal.js when wicket in production mode / setStripJavascriptCommentsAndWhitespace(true)

Posted by Antoine Angenieux <aa...@clinigrid.com>.
Fantastic Matej, you're the man ;)

Cheers,

Antoine.

Matej Knopp wrote:
> Hi,
> 
> thanks for the report. Should be fixed in SVN.
> 
> -Matej
> 
> On Mon, Feb 9, 2009 at 5:35 PM, Antoine Angenieux
> <aa...@clinigrid.com> wrote:
>> Hi all,
>>
>> I can't tell you from which version it started, but in wicket-1.3 (as from
>> the latest version on SVN), as soon as I do a
>> setStripJavascriptCommentsAndWhitespace(true) or set the wicket mode to
>> production, I get javascript errors in modal.js : (line 64 / 65 of the
>> received javascript)
>>
>> e.clientX = evt.clientX + Wicket.Iframe.findPosX(iframe) - dx;
>> e.clientY = evt.clientY + Wicket.Iframe.findPosY(iframe) - dy;
>> doc.onmousemove(e); } idoc.old_onmouseup = idoc.old_onmousemove;
>> idoc.onmouseup = function(evt) {
>>
>> Both IE (6&7) and firefox (1.5+,2+) complain about the } right before
>> idoc.old_onmouseoup =...
>>
>> Did anyone else encounter this ? Should I oppen a JIRA ticket ?
>>
>> Thanks in advance,
>>
>> Cheers,
>>
>> Antoine.
>>
>> PS: I did not have enough time to check if the behavior was the same in 1.4
>> trunk.
>>
>> --
>> Antoine Angénieux
>> Associé
>>
>> Clinigrid
>> 5, avenue Mozart
>> 75016 Paris, France
>> +336 60 21 09 18
>> aangenieux@clinigrid.com
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 

-- 
Antoine Angénieux
Associé

Clinigrid
5, avenue Mozart
75016 Paris, France
+336 60 21 09 18
aangenieux@clinigrid.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org