aboutsummaryrefslogtreecommitdiff
path: root/js/document/models/base.js
diff options
context:
space:
mode:
authorJose Antonio Marquez Russo2012-07-24 17:15:30 -0700
committerJose Antonio Marquez Russo2012-07-24 17:15:30 -0700
commit98b098942d0f0c46d645879972e1cd47a09436d5 (patch)
treec350756f9295835bdf39e8d3afc2178ed67ec649 /js/document/models/base.js
parent3ec902504a7188b6468d93e9ec194bb97af6222f (diff)
parent80ff3adb07eff80e30a073d578b6273bd515bb4e (diff)
downloadninja-98b098942d0f0c46d645879972e1cd47a09436d5.tar.gz
Merge pull request #45 from mencio/document-switch
Document switch fixes
Diffstat (limited to 'js/document/models/base.js')
-rwxr-xr-xjs/document/models/base.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/document/models/base.js b/js/document/models/base.js
index 85a0414f..c44123c3 100755
--- a/js/document/models/base.js
+++ b/js/document/models/base.js
@@ -88,6 +88,21 @@ exports.BaseDocumentModel = Montage.create(Component, {
88 }, 88 },
89 //////////////////////////////////////////////////////////////////// 89 ////////////////////////////////////////////////////////////////////
90 // 90 //
91 _currentViewIdentifier: {
92 value: ""
93 },
94 ////////////////////////////////////////////////////////////////////
95 //
96 currentViewIdentifier: {
97 get: function() {
98 return this._currentViewIdentifier;
99 },
100 set: function(value) {
101 this._currentViewIdentifier = value;
102 }
103 },
104 ////////////////////////////////////////////////////////////////////
105 //
91 _selection: { 106 _selection: {
92 value: [] 107 value: []
93 }, 108 },