Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 06, 2009 07:00
open dhtmlx forum
combo with pulled down div problems on FF

I am using DHTX combo that is inside of DHTX window. When I expend down the combo values and close thw window before I collapsing the combo - pulled down div with combo values is still appeared on FF. Also it has a same problem when I drag window within page - div with values is still on same place. It works fine on IE6. Any patches, recomendations available?

Thanks.
Answer posted by Alex (support) on Mar 09, 2009 05:12

You can try to use the following approach to close both combo and window:

var dhxWins = new dhtmlXWindows();

....

dhxWins.attachEvent("onClose",function(){
  combo.closeAll();
  return true
})


 

Answer posted on Mar 09, 2009 13:37

Interesting, it works now. All combos are collapsing on closing window... However I got now a similar problem with combo expanded: when I drag the window - expanded div stays on same place and does not move with all other elements, neither collapsing.

Answer posted by Alex (support) on Mar 10, 2009 03:51

You can also try to use the same approach when window is moved:

dhxWins.attachEvent("onMoveFinish",function(){
  combo.closeAll();
  return true
})