diff options
author | Valerio Virgillito | 2012-05-16 16:04:22 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-16 16:04:22 -0700 |
commit | 2c9ed2068b12884fc026fe3a7b57021e7e591f1c (patch) | |
tree | 322a6061b94d24538176b6367e9871ad6b4e94ff /js/components | |
parent | fd54dabad7cbc27a0efb0957155c00d578912909 (diff) | |
download | ninja-2c9ed2068b12884fc026fe3a7b57021e7e591f1c.tar.gz |
fixing a null value for the document entry bar
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/components')
-rwxr-xr-x | js/components/layout/document-entry.reel/document-entry.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/js/components/layout/document-entry.reel/document-entry.js b/js/components/layout/document-entry.reel/document-entry.js index 4d09a362..ad0236c6 100755 --- a/js/components/layout/document-entry.reel/document-entry.js +++ b/js/components/layout/document-entry.reel/document-entry.js | |||
@@ -33,8 +33,10 @@ exports.DocumentEntry = Montage.create(Component, { | |||
33 | } | 33 | } |
34 | 34 | ||
35 | this._document = value; | 35 | this._document = value; |
36 | this._uuid = value.uuid; | 36 | |
37 | //this.needsDraw = true; | 37 | if(value) { |
38 | this._uuid = value.uuid; | ||
39 | } | ||
38 | } | 40 | } |
39 | }, | 41 | }, |
40 | 42 | ||