Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: combobox ajax errors

$
0
0
Re: combobox ajax errors
FoxInCloud
Re: combobox ajax errors
Nov. 29, 2012
09:16 pm
3NM19LOLYShow this entire thread in new window
Gratar Image based on email address
From:Tuvia Vinitsky
To:Thierry Nivelet (FoxInCloud)
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.




Viewing all articles
Browse latest Browse all 10393

Trending Articles