Check for MDL-related componentHandler not being present

- Same as in document library, preparing for tests
This commit is contained in:
Will Abson
2016-06-09 18:31:57 +01:00
parent e67d043a54
commit 8021322a30

View File

@@ -82,8 +82,10 @@ export class AlfrescoSearchControlComponent implements AfterViewInit {
}
ngAfterViewInit() {
if (componentHandler) {
componentHandler.upgradeAllRegistered();
}
}
getTextFieldClassName(): string {
return 'mdl-textfield mdl-js-textfield' + (this.expandable ? ' mdl-textfield--expandable' : '');