[ADF-2455] fix properly fall back datatable thumbnail

fix search node selector
drop down list style
This commit is contained in:
Eugenio Romano
2018-04-17 01:19:59 +01:00
parent c8cbc8d645
commit 0a8438954b
10 changed files with 41 additions and 20 deletions

View File

@@ -324,6 +324,20 @@ export class ContentNodeSelectorPanelComponent implements OnInit, PaginatedCompo
return !this.showingSearchResults || this.chosenNode;
}
/**
* Loads the next batch of search results
*
* @param event Pagination object
*/
getNextPageOfSearch(event: Pagination): void {
this.infiniteScroll = true;
this.skipCount = event.skipCount;
if (this.searchTerm.length > 0) {
this.querySearch();
}
}
/**
* Selects node as chosen if it has the right permission, clears the selection otherwise
*