Getter to detect if treelist widget is in search mode

pull/192/head
Thomas Bruederli 10 years ago
parent dddebd8220
commit 00dd283999

@ -93,6 +93,7 @@ function rcube_treelist_widget(node, p)
this.get_item = get_item;
this.get_node = get_node;
this.get_selection = get_selection;
this.is_search = is_search;
/////// startup code (constructor)
@ -574,6 +575,14 @@ function rcube_treelist_widget(node, p)
select(selection);
}
/**
*
*/
function is_search()
{
return search_active;
}
/**
* Render the tree list from the internal data structure
*/

Loading…
Cancel
Save