Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jan Bo Jensen on Oct 24, 2009 03:30
open dhtmlx forum
dhtmlXCombo attacnChildCombo error second time I change master

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?
Answer posted by Alex (support) on Oct 26, 2009 04:42

Hello,

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

Attachments (1)