diff --git a/apps/common/main/resources/less/buttons.less b/apps/common/main/resources/less/buttons.less index b8b4a267a..4118cd3c1 100644 --- a/apps/common/main/resources/less/buttons.less +++ b/apps/common/main/resources/less/buttons.less @@ -336,7 +336,7 @@ } &.open { - button:not(.active) { + > button:not(.active) { &:last-of-type { background-color: @color-dark; } diff --git a/apps/presentationeditor/mobile/app/controller/add/AddSlide.js b/apps/presentationeditor/mobile/app/controller/add/AddSlide.js index 967652d25..28fd10073 100644 --- a/apps/presentationeditor/mobile/app/controller/add/AddSlide.js +++ b/apps/presentationeditor/mobile/app/controller/add/AddSlide.js @@ -103,7 +103,7 @@ define([ var name = layout.get_Name(); _layouts.push({ imageUrl : layout.get_Image(), - title : (name !== '') ? name : me.layoutNames[layout.getType()], + title : (name !== '') ? name : PE.getController('Main').layoutNames[layout.getType()], itemWidth : layout.get_Width(), itemHeight : layout.get_Height(), idx : layout.getIndex()