diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-06-10 16:32:37 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-06-10 16:32:37 -0400 |
| commit | 7f443264d1c30b48cc3923ee6e700facdf0f7214 (patch) | |
| tree | 1ee91d2b41ed6eb73006271c76f18036f6c0ce97 /public/assets/javascripts/ui | |
| parent | d3c355ce07e0d8ec41fedd9cde970f4a7c03dec6 (diff) | |
fix resize issues
Diffstat (limited to 'public/assets/javascripts/ui')
| -rw-r--r-- | public/assets/javascripts/ui/editor/EditorSettings.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/assets/javascripts/ui/editor/EditorSettings.js b/public/assets/javascripts/ui/editor/EditorSettings.js index d8cfca6..5aa88e9 100644 --- a/public/assets/javascripts/ui/editor/EditorSettings.js +++ b/public/assets/javascripts/ui/editor/EditorSettings.js @@ -41,7 +41,7 @@ var EditorSettings = FormView.extend({ this.action = data.isNew ? this.createAction : this.updateAction this.parent.data = data - if (data.shapes.length) { + if (data.shapes && data.shapes.length) { Rooms.deserializeFromShapes(data, data.walls) } else if (data.rooms) { |
