mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 07:42: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
|
// Update widget
|
||||||
this.options.operator = oActiveOpElem.find('.sfc_op_radio').val();
|
this.options.operator = oActiveOpElem.find('.sfc_op_radio').val();
|
||||||
|
|
||||||
|
if (JSON.stringify(this.options.values) != JSON.stringify(aValues))
|
||||||
|
{
|
||||||
|
this.is_modified = true;
|
||||||
|
this.options.oql = '';
|
||||||
this.options.values = aValues;
|
this.options.values = aValues;
|
||||||
this._setTitle();
|
this._setTitle();
|
||||||
|
}
|
||||||
this._unmarkAsDraft();
|
this._unmarkAsDraft();
|
||||||
|
|
||||||
|
|
||||||
// Trigger event to handler
|
// Trigger event to handler
|
||||||
this.handler.triggerHandler('itop.search.criteria.value_changed');
|
this.handler.triggerHandler('itop.search.criteria.value_changed');
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user