cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: Forms broken on IE
Date Fri, 24 Feb 2006 09:17:25 GMT
On Thu, 2006-02-23 at 13:43 +0100, Sylvain Wallez wrote:
> Bruno Dumon wrote:
> > Hi,
> >
> > With latest SVN (2_1_x branch), CForms gives a javascript error on IE6.
> > This happens whenever I click somewhere on the page (doesn't matter
> > where: in a blank area or an input field).
> >
> > The cause is that in dojo's HtmlDragManager.js, on line 185, the 'e'
> > variable is undefined:
> >
> >   onMouseUp: function(e){
> >     this.mouseDownX = null;
> >     this.mouseDownY = null;
> >     this._dragTriggered = false;
> >     var _this = this;
> >     e.preventDefault();   <=== e undefined
> >
> > Maybe some of you who follow up dojo development know if this is already
> > fixed or if the problem is caused by us.
> >   
> 
> This not a problem in Dojo, but a bug in Matt Kruses's PopupWindow class 
> that wasn't properly chaining window.onload when there's an existing 
> handler, as is the case with Dojo.
> 
> I fixed it when committing the Dojo stuff [1]
> 
> Sylvain
> 
> [1] 
> http://svn.apache.org/viewcvs.cgi/cocoon/trunk/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/resources/mattkruse-lib/PopupWindow.js?rev=379087&r1=367689&r2=379087
> 

Hmmm, I still have this error. I was first testing on Windows 2000 (with
latest IE6) but now verified it's the same on Windows XP. This is with
an up to date checkout from this morning. Nobody else seeing this?

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


Mime
View raw message