eclipse-scout / scout.rt

https://www.eclipse.org/scout/
Eclipse Public License 2.0
34 stars 39 forks source link

SimpleTab: fix rendering the title/subTitle if it is set to null #1112

Closed fschinkel closed 1 month ago

fschinkel commented 1 month ago

The title and the subTitle can be set to null, undefined or empty string. An earlier implementation has handled this case by removing the DOM elements $title or $subTitle. When this was refactored the removal of the DOM elements was removed and since then the content of the DOM element is only updated if the value is not empty. Because of this the content could not have been removed.