diff options
author | Nivesh Rajbhandari | 2012-05-18 16:12:30 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-18 16:12:30 -0700 |
commit | f30e5613e37ec6858fe4b56d289fafb9f1b9b9f8 (patch) | |
tree | c313a5e0b4dc5a4d7b5cd44fe0969b325f59ecad /js/panels/properties.reel/sections/custom-rows/dual-row.reel/dual-row.js | |
parent | 3e22b0940bb7752e292e485d8a393f215cae05de (diff) | |
download | ninja-f30e5613e37ec6858fe4b56d289fafb9f1b9b9f8.tar.gz |
Fixing button controls in the Properties Panel for changes in montage v.10 drawing.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/panels/properties.reel/sections/custom-rows/dual-row.reel/dual-row.js')
-rwxr-xr-x | js/panels/properties.reel/sections/custom-rows/dual-row.reel/dual-row.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/panels/properties.reel/sections/custom-rows/dual-row.reel/dual-row.js b/js/panels/properties.reel/sections/custom-rows/dual-row.reel/dual-row.js index 4c5c80d7..2f81aa2e 100755 --- a/js/panels/properties.reel/sections/custom-rows/dual-row.reel/dual-row.js +++ b/js/panels/properties.reel/sections/custom-rows/dual-row.reel/dual-row.js | |||
@@ -44,8 +44,7 @@ exports.DualRow = Montage.create(Component, { | |||
44 | } | 44 | } |
45 | if(this.label2 !== null) { | 45 | if(this.label2 !== null) { |
46 | if(this.content2.type === "button") { | 46 | if(this.content2.type === "button") { |
47 | this.content2.element = document.createElement("button"); | 47 | this.content2.label = this.label2; |
48 | this.content2.element.classList.add("nj-skinned"); | ||
49 | this.element.getElementsByClassName("lbl")[1].style.display = "none"; | 48 | this.element.getElementsByClassName("lbl")[1].style.display = "none"; |
50 | } else { | 49 | } else { |
51 | this.element.getElementsByClassName("lbl")[1].innerHTML = this.label2 + ":"; | 50 | this.element.getElementsByClassName("lbl")[1].innerHTML = this.label2 + ":"; |