aboutsummaryrefslogtreecommitdiff
path: root/js/components/layout/document-entry.reel/document-entry.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-16 16:04:22 -0700
committerValerio Virgillito2012-05-16 16:04:22 -0700
commit2c9ed2068b12884fc026fe3a7b57021e7e591f1c (patch)
tree322a6061b94d24538176b6367e9871ad6b4e94ff /js/components/layout/document-entry.reel/document-entry.js
parentfd54dabad7cbc27a0efb0957155c00d578912909 (diff)
downloadninja-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/layout/document-entry.reel/document-entry.js')
-rwxr-xr-xjs/components/layout/document-entry.reel/document-entry.js6
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