dhtmlXCombo attacnChildCombo error second time I change mast

I have a simple setup with 2 dependent combos:



var vejCombo = new dhtmlXCombo(“vej_zone”,“vejkode”,“200px”);

var kommuneCombo = new dhtmlXCombo(“kommune_zone”,“kommunenr”,“200px”);

kommuneCombo.attachChildCombo(vejCombo,’/vej_autocomplete’);

kommuneCombo.loadXML(’/kommune_autocomplete’);

kommuneCombo.enableFilteringMode(true);



First time I select at value i master combo (kommuneCombo) the following URl is called with succes:

vej_autocomplete?parent=751&a_dhx_rSeed=1256379336038



If I clear the selected value in master combo and select a new value, the following URL i called:

vej_autocomplete?&parent=750&a_dhx_rSeed=1256379359162



This I an invalid URL - before “parent” a “&” is inserted in the URL.



Whats up?


Hello,


the issue is confirmed. The fixed dhtmlxcombo_whp.js is attached.


dhtmlxcombo_group.zip (915 Bytes)