mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
search widget : delete the "oql" parameter once the widget is modified
SVN:b1162[5463]
This commit is contained in:
@@ -242,10 +242,17 @@ $(function()
|
||||
|
||||
// Update widget
|
||||
this.options.operator = oActiveOpElem.find('.sfc_op_radio').val();
|
||||
this.options.values = aValues;
|
||||
this._setTitle();
|
||||
|
||||
if (JSON.stringify(this.options.values) != JSON.stringify(aValues))
|
||||
{
|
||||
this.is_modified = true;
|
||||
this.options.oql = '';
|
||||
this.options.values = aValues;
|
||||
this._setTitle();
|
||||
}
|
||||
this._unmarkAsDraft();
|
||||
|
||||
|
||||
// Trigger event to handler
|
||||
this.handler.triggerHandler('itop.search.criteria.value_changed');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user