actually it's split into several lines:EventRequest: function(...)
...
lCbo = this.serverVersion >= 1.1 && $(element.parentNode).hasClassName('combobox')
...if (llResult) {if (lCbo){
element = element.parentNode;
id = element.id;
}
1.26
In my source (non minified) foxincloud.js I do not see code like that. Where should it be?
foxincloud.js has the following code:
if (this.serverVersion >= 1.1 && $(element.parentNode).hasClassName('combobox')){
element = element.parentNode;
id = element.id;
}
this makes combobox components (list and textbox) act with the id of the containing div (without _txt and _lst suffixes).
can you check this.serverVersion?
Update: it only happens if it is a type 0 combobox,
I have a combo box on a form named cboclients_industry. But FiC generates this in the htm:
<divid="clients_scx-cboclients_industry"class="combobox awcbo arcbo"style="display:block;"tabindex="307"><selectid="clients_scx-cboclients_industry_lst"onchange="FoxInCloud.DOMEvent(event)"onclick="FoxInCloud.DOMEvent(event)"onfocus="FoxInCloud.DOMEvent(event)"size="1" autocomplete="off"><option>CITY</option><option>COUNTY</option><option>OTHER</option><option>SCHOOL</option><option>SOUTHEAST</option><option>UTILITY</option></select>
Notice the select adds "_lst" to the end of the name, resulting in ajax errors anytime a method of that control runs.
Thierry Nivelet (FoxInCloud)
Never explain, never complain (Queen Elizabeth II)