diff options
Diffstat (limited to 'js/document/document-html.js')
-rwxr-xr-x | js/document/document-html.js | 24 |
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: { |