Advanced search: UI/UX, disable hierarchical search on ext. key for now.

SVN:b1162[5580]
This commit is contained in:
Guillaume Lajarige
2018-03-29 15:52:01 +00:00
parent 1e80d76383
commit 7154aa05a6

View File

@@ -55,18 +55,19 @@ $(function()
this._super();
// DOM elements
// - Add search dialog button
this.element.find('.sf_filter')
.append('<button type="button" class="sff_hierarchy_dialog"><span class=" fa fa-sitemap"></span></button>')
.addClass('sf_with_buttons');
// Events
// - Open hierarchy dialog
this.element.find('.sff_hierarchy_dialog').on('click', function(){
// TODO: Open hierarchy dialog with right params
alert('Not implemented yet');
});
// Note: Hierarchical key is on stand by for now.
// // DOM elements
// // - Add search dialog button
// this.element.find('.sf_filter')
// .append('<button type="button" class="sff_hierarchy_dialog"><span class=" fa fa-sitemap"></span></button>')
// .addClass('sf_with_buttons');
//
// // Events
// // - Open hierarchy dialog
// this.element.find('.sff_hierarchy_dialog').on('click', function(){
// // TODO: Open hierarchy dialog with right params
// alert('Not implemented yet');
// });
},
});
});