mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
Advanced search: Widget refactoring to use _computeTitle method.
SVN:trunk[5625]
This commit is contained in:
@@ -186,9 +186,7 @@ $(function()
|
||||
//------------------
|
||||
// Inherited methods
|
||||
//------------------
|
||||
|
||||
|
||||
_setTitle: function(sTitle)
|
||||
_computeTitle: function(sTitle)
|
||||
{
|
||||
var me = this;
|
||||
if (sTitle === undefined && me.options.operator == 'between')
|
||||
@@ -245,7 +243,6 @@ $(function()
|
||||
return me._super(sTitle);
|
||||
},
|
||||
|
||||
|
||||
// - Convert values to a standard string
|
||||
_getValuesAsText: function(aRawValues)
|
||||
{
|
||||
@@ -270,9 +267,6 @@ $(function()
|
||||
return me._super(aRawValues);
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
// Prepare operator's DOM element
|
||||
// - Base preparation, always called
|
||||
_prepareOperator: function(oOpElem, sOpIdx, oOp)
|
||||
@@ -330,7 +324,5 @@ $(function()
|
||||
.data('oOp', oOp)
|
||||
;
|
||||
},
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user