Improve section existence check for wizard.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com> Change-Id: I4125a8fb36358e127d9ba4212debf4c9374066dd Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
This commit is contained in:
parent
efe1ba3c5e
commit
b713340f24
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ L.Control.MobileWizardPopup = L.Control.extend({
|
|||
_hideWizard: function () {
|
||||
this.removeContainer();
|
||||
|
||||
if (app.sectionContainer) {
|
||||
if (app.sectionContainer && app.sectionContainer.doesSectionExist(L.CSections.CommentList.name)) {
|
||||
app.sectionContainer.getSectionWithName(L.CSections.CommentList.name).removeHighlighters();
|
||||
app.sectionContainer.getSectionWithName(L.CSections.CommentList.name).layout();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue