diff options
author | Valerio Virgillito | 2012-05-31 10:27:46 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-31 10:27:46 -0700 |
commit | e1fe603a7c002073f8ac13623f8cc8dc43efb59d (patch) | |
tree | 38d9f7e00cc4a7b181ebe0029eaadcb46c70afb8 /js/document/models | |
parent | 5b982abcfe51278062c06fde5fa7e5371f6aef54 (diff) | |
download | ninja-e1fe603a7c002073f8ac13623f8cc8dc43efb59d.tar.gz |
fixing selection when switching documents
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/document/models')
-rwxr-xr-x | js/document/models/base.js | 5 | ||||
-rwxr-xr-x | js/document/models/html.js | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/js/document/models/base.js b/js/document/models/base.js index 6d9d2e89..886a4ef0 100755 --- a/js/document/models/base.js +++ b/js/document/models/base.js | |||
@@ -62,6 +62,11 @@ exports.BaseDocumentModel = Montage.create(Component, { | |||
62 | }, | 62 | }, |
63 | //////////////////////////////////////////////////////////////////// | 63 | //////////////////////////////////////////////////////////////////// |
64 | // | 64 | // |
65 | selection: { | ||
66 | value: [] | ||
67 | }, | ||
68 | //////////////////////////////////////////////////////////////////// | ||
69 | // | ||
65 | fileTemplate: { | 70 | fileTemplate: { |
66 | value: null | 71 | value: null |
67 | }, | 72 | }, |
diff --git a/js/document/models/html.js b/js/document/models/html.js index fd42d4de..9f5599a2 100755 --- a/js/document/models/html.js +++ b/js/document/models/html.js | |||
@@ -19,11 +19,6 @@ exports.HtmlDocumentModel = Montage.create(BaseDocumentModel, { | |||
19 | }, | 19 | }, |
20 | //////////////////////////////////////////////////////////////////// | 20 | //////////////////////////////////////////////////////////////////// |
21 | // | 21 | // |
22 | selection: { | ||
23 | value: [] | ||
24 | }, | ||
25 | //////////////////////////////////////////////////////////////////// | ||
26 | // | ||
27 | selectionContainer: { | 22 | selectionContainer: { |
28 | value: [] | 23 | value: [] |
29 | }, | 24 | }, |