diff options
author | hwc487 | 2012-02-08 14:47:31 -0800 |
---|---|---|
committer | hwc487 | 2012-02-08 14:47:31 -0800 |
commit | 468d324f8e9a5f018bc7609b58254ae468075ce9 (patch) | |
tree | c55cebc2cefc959251bcaca0fce139b4b1fc0fc7 /node_modules/montage/ui/slot.reel/slot.js | |
parent | ab4b753907bc80a969b0d4104d0b0731597e3bf0 (diff) | |
parent | 0537f8f29e7b8dd48fd08f20b1533fbe92a54c4b (diff) | |
download | ninja-468d324f8e9a5f018bc7609b58254ae468075ce9.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into working
Diffstat (limited to 'node_modules/montage/ui/slot.reel/slot.js')
-rwxr-xr-x | node_modules/montage/ui/slot.reel/slot.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/node_modules/montage/ui/slot.reel/slot.js b/node_modules/montage/ui/slot.reel/slot.js index 45c0ac1d..818cc68d 100755 --- a/node_modules/montage/ui/slot.reel/slot.js +++ b/node_modules/montage/ui/slot.reel/slot.js | |||
@@ -247,7 +247,10 @@ var Slot = exports.Slot = Montage.create(Component, /** @lends module:"montage/u | |||
247 | 247 | ||
248 | // Introduce to the componentTree if content appended was a component | 248 | // Introduce to the componentTree if content appended was a component |
249 | if (this._contentToAppend && (typeof this._contentToAppend.element !== "undefined")) { | 249 | if (this._contentToAppend && (typeof this._contentToAppend.element !== "undefined")) { |
250 | this.childComponents = [this._contentToAppend]; | 250 | this._contentToAppend.attachToParentComponent(); |
251 | // HACK: gets around the issue of the component never being part of the draw loop again because of the idempotence of the needsDraw = true. | ||
252 | this._contentToAppend.needsDraw = false; | ||
253 | this._contentToAppend.needsDraw = true; | ||
251 | } | 254 | } |
252 | } | 255 | } |
253 | 256 | ||