Opened 13 years ago

Closed 12 years ago

#2562 closed defect (fixed)

ComboBox.js naming of selected items breaks post into PHP applications

Reported by: alan@… Owned by: haysmark
Priority: high Milestone:
Component: Widgets Version: 0.4.1
Keywords: Cc:
Blocked By: Blocking:

Description

in fillTemplate - this code is used to name the resulting input boxes. this.comboBoxValue.name = this.name; this.comboBoxSelectionValue.name = this.name+"_selected";

if name is something like: "new[title]", the resulting selected name box is "new[title]_selected" which when posts hides the title id value from PHP.

It would be better to use somethign like this.comboBoxSelectionValue.name = "_dojo_combobox_selected_" + this.name;

Change History (3)

comment:1 Changed 12 years ago by Douglas Hays

Owner: changed from bill to haysmark@…

comment:2 Changed 12 years ago by haysmark

Owner: changed from haysmark@… to haysmark

comment:3 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [8401]) Fixes #2313, #2562, #2883, #2884 (proxy commit of changes made by haysmark). try/catch blocks removed. New queryIgnoreCase added. labelFunc now takes a dojo.data item instead of a string. hidden input tag removed from autocompleter template.

Note: See TracTickets for help on using tickets.