N°1455 - obsolescence: show hint in the search bar

This commit is contained in:
bruno DA SILVA
2019-09-10 15:44:20 +02:00
parent cb1488c17f
commit d71b3b1893
6 changed files with 78 additions and 7 deletions

View File

@@ -15,6 +15,7 @@ $(function()
'endpoint': null,
'init_opened': false,
'auto_submit': true,
'show_obsolete_data' : true,
'search': {
'base_oql': '',
'class_name': null,
@@ -325,6 +326,12 @@ $(function()
{
this.element.addClass('no_auto_submit');
}
// - Show obsolete data option
if(this.options.show_obsolete_data === false)
{
this.element.addClass('hide_obsolete_data');
}
// - Message area
this.elements.message_area = this.element.find('.sf_message');
this._cleanMessageArea();