mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Implemented the "multiple choices" in search forms for Enums and External keys.
SVN:trunk[2305]
This commit is contained in:
@@ -150,16 +150,17 @@ function ExtKeyWidget(id, sTargetClass, sFilter, sTitle, bSelectMode, oWizHelper
|
||||
};
|
||||
|
||||
// Gather the parameters from the search form
|
||||
$('#fs_'+me.id+' :input').each(
|
||||
function(i)
|
||||
$('#fs_'+me.id+' :input').each( function() {
|
||||
if (this.name != '')
|
||||
{
|
||||
if (this.name != '')
|
||||
var val = $(this).val(); // supports multiselect as well
|
||||
if (val !== null)
|
||||
{
|
||||
theMap[this.name] = this.value;
|
||||
theMap[this.name] = val;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
});
|
||||
|
||||
if (me.oWizardHelper == null)
|
||||
{
|
||||
theMap['json'] = '';
|
||||
|
||||
Reference in New Issue
Block a user