mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
Advanced search: Widget refactoring to use _computeTitle method.
SVN:trunk[5625]
This commit is contained in:
@@ -68,13 +68,14 @@ $(function()
|
||||
{
|
||||
// Overloading function and doing nothing for this special kind of criteria.
|
||||
},
|
||||
_setTitle: function(sTitle)
|
||||
_computeTitle: function(sTitle)
|
||||
{
|
||||
if(sTitle === undefined)
|
||||
{
|
||||
sTitle = this.options.label;
|
||||
}
|
||||
this._super(sTitle);
|
||||
|
||||
return this._super(sTitle);
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user