diff options
author | Valerio Virgillito | 2012-05-29 11:43:55 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-29 11:43:55 -0700 |
commit | 4fa08fe2ce439a5f5c248c568f72d3828ee11b36 (patch) | |
tree | 3fb2977a349c01c5b8cdbd2ab686a0099e3c3999 /js/components/layout/document-entry.reel/document-entry.html | |
parent | 0c9c719acb9381e147b90abbf733ad7eb3beb7f7 (diff) | |
download | ninja-4fa08fe2ce439a5f5c248c568f72d3828ee11b36.tar.gz |
fix for the document tab close button and rulers on initial document
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/components/layout/document-entry.reel/document-entry.html')
-rwxr-xr-x | js/components/layout/document-entry.reel/document-entry.html | 15 |
1 files changed, 11 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 bd8c25cb..e68d17c5 100755 --- a/js/components/layout/document-entry.reel/document-entry.html +++ b/js/components/layout/document-entry.reel/document-entry.html | |||
@@ -22,8 +22,16 @@ | |||
22 | "closeButton": { | 22 | "closeButton": { |
23 | "prototype": "montage/ui/button.reel", | 23 | "prototype": "montage/ui/button.reel", |
24 | "properties": { | 24 | "properties": { |
25 | "element": {"#": "close-btn"} | 25 | "element": {"#": "close-btn"}, |
26 | } | 26 | "identifier": "closeButton" |
27 | }, | ||
28 | "listeners": [ | ||
29 | { | ||
30 | "type": "action", | ||
31 | "listener": {"@": "owner"}, | ||
32 | "capture": false | ||
33 | } | ||
34 | ] | ||
27 | } | 35 | } |
28 | } | 36 | } |
29 | </script> | 37 | </script> |
@@ -31,8 +39,7 @@ | |||
31 | <body> | 39 | <body> |
32 | <li data-montage-id="documentEntry" class="documentEntry"> | 40 | <li data-montage-id="documentEntry" class="documentEntry"> |
33 | <span data-montage-id="name"></span> | 41 | <span data-montage-id="name"></span> |
34 | <!--<img src="js/components/layout/document-entry.reel/close_button.gif" data-montage-id="close-btn">--> | 42 | <button type="button" class="documentCloseButton" data-montage-id="close-btn"></button> |
35 | <button type="button" class="mybutton" data-montage-id="close-btn"></button> | ||
36 | </li> | 43 | </li> |
37 | </body> | 44 | </body> |
38 | </html> \ No newline at end of file | 45 | </html> \ No newline at end of file |