diff --git a/apps/spreadsheeteditor/mobile/app/controller/edit/EditShape.js b/apps/spreadsheeteditor/mobile/app/controller/edit/EditShape.js index 36e00f871..b60c14f71 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/edit/EditShape.js +++ b/apps/spreadsheeteditor/mobile/app/controller/edit/EditShape.js @@ -130,7 +130,7 @@ define([ }, initSettings: function (pageId) { - if ($('#edit-shape').length < 1) { + if ($('#edit-shape').length < 1 || !_shapeObject) { return; }