mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Advanced search: UI/UX, WIP.
SVN:b1162[5606]
This commit is contained in:
@@ -640,14 +640,14 @@ $(function()
|
||||
oSelectedValuesElem.hide();
|
||||
}
|
||||
|
||||
// Reorder
|
||||
oSelectedValuesElem.html('');
|
||||
var aSortedValues = this._sortValuesByLabel(this.options.values);
|
||||
for(var iIdx in aSortedValues)
|
||||
{
|
||||
var oItemElem = this._makeListItemElement(aSortedValues[iIdx][1], aSortedValues[iIdx][0], true);
|
||||
oItemElem.appendTo(oSelectedValuesElem);
|
||||
}
|
||||
// TODO: Reorder
|
||||
// oSelectedValuesElem.html('');
|
||||
// var aSortedValues = this._sortValuesByLabel(this.options.values);
|
||||
// for(var iIdx in aSortedValues)
|
||||
// {
|
||||
// var oItemElem = this._makeListItemElement(aSortedValues[iIdx][1], aSortedValues[iIdx][0], true);
|
||||
// oItemElem.appendTo(oSelectedValuesElem);
|
||||
// }
|
||||
},
|
||||
// - Return an array of allowed values sorted by labels
|
||||
_sortValuesByLabel: function(oSource)
|
||||
|
||||
Reference in New Issue
Block a user