diff options
author | Valerio Virgillito | 2012-06-01 16:19:04 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-01 16:19:04 -0700 |
commit | 75fc82ce49d6f1eb05dc950b46292d42b5856005 (patch) | |
tree | 8e8fd7a8f7e0eeb5b3b07322a45f1a9e070d9c3e /js/document/models | |
parent | 8433fa5ed0d4cc91e10b7080aa8edb8d94ccc1a4 (diff) | |
download | ninja-75fc82ce49d6f1eb05dc950b46292d42b5856005.tar.gz |
fixing some selection container changes and the breadcrumb not drawing initially
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/document/models')
-rwxr-xr-x | js/document/models/base.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/js/document/models/base.js b/js/document/models/base.js index 886a4ef0..76a5e62b 100755 --- a/js/document/models/base.js +++ b/js/document/models/base.js | |||
@@ -62,9 +62,18 @@ exports.BaseDocumentModel = Montage.create(Component, { | |||
62 | }, | 62 | }, |
63 | //////////////////////////////////////////////////////////////////// | 63 | //////////////////////////////////////////////////////////////////// |
64 | // | 64 | // |
65 | selection: { | 65 | _selection: { |
66 | value: [] | 66 | value: [] |
67 | }, | 67 | }, |
68 | |||
69 | selection: { | ||
70 | get: function() { | ||
71 | return this._selection; | ||
72 | }, | ||
73 | set: function(value) { | ||
74 | this._selection = value; | ||
75 | } | ||
76 | }, | ||
68 | //////////////////////////////////////////////////////////////////// | 77 | //////////////////////////////////////////////////////////////////// |
69 | // | 78 | // |
70 | fileTemplate: { | 79 | fileTemplate: { |