mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
Advanced search: UI/UX, disable hierarchical search on ext. key for now.
SVN:b1162[5580]
This commit is contained in:
@@ -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');
|
||||
// });
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user