Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Fernando on Feb 06, 2008 06:10
open dhtmlx forum
dhtmlTreeGrid - Upgrade to v1.5 not working on Safari

Hi,
We just came across with an issue, that i hope you can help me on, as soon as possible.
 
The drag&drop feature is not working on Safari browser for Mac.
Seems like the drop event is not reached at all.
 
Example
I have this:
 
function HandleDragIn() { 
  return true;
 }
 
 function HangleDrag(){
  return true;
 }
 
 function HangleDrop(){
  alert("test");
  return true;
 }
 
 
And then, i set the handlers:
[...]
 mygrid.setDragBehavior("complex");
 mygrid.enableDragAndDrop(true);
 mygrid.setDragHandler(HangleDrag);
 mygrid.setDropHandler(HangleDrop);
 mygrid.setDragInHandler(HandleDragIn);
 mygrid.setOnOpenEndHandler(OnOpenBranchEnd);
 mygrid.init();
 mygrid.loadXML()
[...]
 
 
I should be getting the alert message, but i don't.
It works fine on the rest of the browsers.
 
Do you have any idea of why this is not working. It used to work fine in v1.2.
 
Thanks in advance!
 
Fernando
Answer posted on Feb 06, 2008 06:35
Problem with Safari 3.x confirmed and fixed, fix will be available as part of next build.
Please contact us directly ( support@dhtmlx.com ) if you need fix ASAP
Answer posted by Fernando on Feb 06, 2008 06:40

Thank you. I just sent an email to support@dhtmlx.com.

We would need a kind of "hotfix" today, if possible.

Thanks in advance.

Fernando