aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xjs/document/models/base.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/document/models/base.js b/js/document/models/base.js
index a9bbd6db..85a0414f 100755
--- a/js/document/models/base.js
+++ b/js/document/models/base.js
@@ -253,8 +253,10 @@ exports.BaseDocumentModel = Montage.create(Component, {
253 this.libs.canvas = true; 253 this.libs.canvas = true;
254 } 254 }
255 } 255 }
256 } else if (this.currentView === this.views.code) {
257 //TODO: Add save logic for code view
256 } else { 258 } else {
257 //TODO: Add logic to save code view data 259 //TODO: Error handle
258 } 260 }
259 } 261 }
260 }, 262 },
@@ -294,8 +296,10 @@ exports.BaseDocumentModel = Montage.create(Component, {
294 this.libs.canvas = true; 296 this.libs.canvas = true;
295 } 297 }
296 } 298 }
299 } else if (this.currentView === this.views.code) {
300 //TODO: Add save logic for code view
297 } else { 301 } else {
298 //TODO: Add logic to save code view data 302 //TODO: Error handle
299 } 303 }
300 304
301 } 305 }