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
--
Sylvain Wallez
http://bluxte.net
Apache Software Foundation Member