diff options
author | Valerio Virgillito | 2012-06-04 10:20:57 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-04 10:20:57 -0700 |
commit | c1ec69879028220b0c3f11ad6e24035bf527802c (patch) | |
tree | 043bfe4ec9e08f4f598a4845ae5fbcddacc7c8fb /js/components/layout/document-entry.reel/document-entry.html | |
parent | 3abba04025dbc0daadb08184833a2558c442b8e1 (diff) | |
parent | 266460e52831c5b3a3473be420756fd88bb8aced (diff) | |
download | ninja-c1ec69879028220b0c3f11ad6e24035bf527802c.tar.gz |
Merge pull request #264 from mencio/document-bindings-fix
Document bindings fix - Changing the documents architecture to use bindings instead of events
Diffstat (limited to 'js/components/layout/document-entry.reel/document-entry.html')
-rwxr-xr-x | js/components/layout/document-entry.reel/document-entry.html | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/js/components/layout/document-entry.reel/document-entry.html b/js/components/layout/document-entry.reel/document-entry.html index 679ebb62..e68d17c5 100755 --- a/js/components/layout/document-entry.reel/document-entry.html +++ b/js/components/layout/document-entry.reel/document-entry.html | |||
@@ -15,18 +15,31 @@ | |||
15 | "prototype": "js/components/layout/document-entry.reel", | 15 | "prototype": "js/components/layout/document-entry.reel", |
16 | "properties": { | 16 | "properties": { |
17 | "element": {"#": "documentEntry"}, | 17 | "element": {"#": "documentEntry"}, |
18 | "label": {"#": "name"}, | 18 | "label": {"#": "name"} |
19 | "activeBack": {"#": "isActive"} | ||
20 | } | 19 | } |
20 | }, | ||
21 | |||
22 | "closeButton": { | ||
23 | "prototype": "montage/ui/button.reel", | ||
24 | "properties": { | ||
25 | "element": {"#": "close-btn"}, | ||
26 | "identifier": "closeButton" | ||
27 | }, | ||
28 | "listeners": [ | ||
29 | { | ||
30 | "type": "action", | ||
31 | "listener": {"@": "owner"}, | ||
32 | "capture": false | ||
33 | } | ||
34 | ] | ||
21 | } | 35 | } |
22 | } | 36 | } |
23 | </script> | 37 | </script> |
24 | </head> | 38 | </head> |
25 | <body> | 39 | <body> |
26 | <li data-montage-id="documentEntry" class="documentEntry"> | 40 | <li data-montage-id="documentEntry" class="documentEntry"> |
27 | <div data-montage-id="isActive"></div> | ||
28 | <span data-montage-id="name"></span> | 41 | <span data-montage-id="name"></span> |
29 | <img src="js/components/layout/document-entry.reel/close_button.gif"> | 42 | <button type="button" class="documentCloseButton" data-montage-id="close-btn"></button> |
30 | </li> | 43 | </li> |
31 | </body> | 44 | </body> |
32 | </html> \ No newline at end of file | 45 | </html> \ No newline at end of file |