Advanced search: Widget refactoring to use _computeTitle method.

SVN:trunk[5625]
This commit is contained in:
Guillaume Lajarige
2018-04-06 10:06:03 +00:00
parent 26127c8218
commit dbc0971b99
5 changed files with 30 additions and 65 deletions

View File

@@ -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);
},
});
});