diff options
author | Jonathan Duran | 2012-03-01 20:01:36 -0800 |
---|---|---|
committer | Jonathan Duran | 2012-03-01 20:01:36 -0800 |
commit | b8fad971d8cf82cdc182160aa72d0c8e69800f76 (patch) | |
tree | e7791aacc4b4d59127600ad3e99bbb042b6506b0 /js/panels/properties/sections/custom-rows/dual-row.reel/dual-row.js | |
parent | 28befbc159399f70f00034f52e56a60dae0a3ba1 (diff) | |
parent | ff0a956f33df034e9a009cfcb8999e469456a4b5 (diff) | |
download | ninja-b8fad971d8cf82cdc182160aa72d0c8e69800f76.tar.gz |
Merge branch 'refs/heads/NINJAmaster' into Timeline
Diffstat (limited to 'js/panels/properties/sections/custom-rows/dual-row.reel/dual-row.js')
-rwxr-xr-x | js/panels/properties/sections/custom-rows/dual-row.reel/dual-row.js | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/js/panels/properties/sections/custom-rows/dual-row.reel/dual-row.js b/js/panels/properties/sections/custom-rows/dual-row.reel/dual-row.js deleted file mode 100755 index 72d216ca..00000000 --- a/js/panels/properties/sections/custom-rows/dual-row.reel/dual-row.js +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | var Montage = require("montage/core/core").Montage; | ||
8 | var Component = require("montage/ui/component").Component; | ||
9 | |||
10 | exports.DualRow = Montage.create(Component, { | ||
11 | id: { | ||
12 | value: null | ||
13 | }, | ||
14 | |||
15 | label: { | ||
16 | value: null | ||
17 | }, | ||
18 | |||
19 | label2:{ | ||
20 | value: null | ||
21 | }, | ||
22 | |||
23 | content: { | ||
24 | value: null | ||
25 | }, | ||
26 | |||
27 | content2: { | ||
28 | value: null | ||
29 | }, | ||
30 | |||
31 | eventDelegate: { | ||
32 | value: null | ||
33 | }, | ||
34 | |||
35 | divider: { | ||
36 | value: false | ||
37 | }, | ||
38 | |||
39 | prepareForDraw: { | ||
40 | value: function() { | ||
41 | if (this.divider) this.element.appendChild(document.createElement("hr")); | ||
42 | if(this.label !== null) { | ||
43 | this.element.getElementsByClassName("lbl")[0].innerHTML = this.label + ":"; | ||
44 | } | ||
45 | if(this.label2 !== null) { | ||
46 | this.element.getElementsByClassName("lbl")[1].innerHTML = this.label2 + ":"; | ||
47 | } else { | ||
48 | this.element.getElementsByClassName("lbl")[1].style.display = "none"; | ||
49 | } | ||
50 | } | ||
51 | } | ||
52 | |||
53 | }); \ No newline at end of file | ||