aboutsummaryrefslogtreecommitdiff
path: root/js/document/document-html.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-04-26 17:05:45 -0700
committerValerio Virgillito2012-04-26 17:05:45 -0700
commita0e730636083eff0c757cd9e16698e3b8e0066c1 (patch)
tree22f1f1ff503f077e9c17b6b6784a0b766bd3596c /js/document/document-html.js
parent238586be0df568c6804268d97bf9d3ef7cd33fda (diff)
downloadninja-a0e730636083eff0c757cd9e16698e3b8e0066c1.tar.gz
Fixed the stage border and layout in the new template
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/document/document-html.js')
-rwxr-xr-xjs/document/document-html.js24
1 files changed, 23 insertions, 1 deletions
diff --git a/js/document/document-html.js b/js/document/document-html.js
index d9789cd2..89717dd6 100755
--- a/js/document/document-html.js
+++ b/js/document/document-html.js
@@ -32,7 +32,7 @@ exports.HtmlDocument = Montage.create(Component, {
32 }, 32 },
33 33
34 exclusionList: { 34 exclusionList: {
35 value: ["HTML"] 35 value: ["HTML", "BODY"]
36 }, 36 },
37 37
38 // Getters for the model. 38 // Getters for the model.
@@ -46,6 +46,24 @@ exports.HtmlDocument = Montage.create(Component, {
46 } 46 }
47 }, 47 },
48 48
49 isActive: {
50 get: function() {
51 return this.model._isActive;
52 },
53 set: function(value) {
54 this.model._isActive = value;
55 }
56 },
57
58 needsSave: {
59 get: function() {
60 return this.model._needsSave;
61 },
62 set: function(value) {
63 this.model._needsSave = value;
64 }
65 },
66
49 // View Properties 67 // View Properties
50 // TODO: Move those into a view object - for now dump it here 68 // TODO: Move those into a view object - for now dump it here
51 iframe: { 69 iframe: {
@@ -57,6 +75,10 @@ exports.HtmlDocument = Montage.create(Component, {
57 return this._uuid; 75 return this._uuid;
58 } 76 }
59 }, 77 },
78
79 currentView: {
80 value: "design"
81 },
60 //////////////////////////////////////////////////////////////////// 82 ////////////////////////////////////////////////////////////////////
61 //////////////////////////////////////////////////////////////////// 83 ////////////////////////////////////////////////////////////////////
62 init: { 84 init: {