public
Description: The solution for tabitus of the browser
Homepage: http://overstimulate.com/projects/taboo
Clone URL: git://github.com/anotherjesse/taboo.git
tweak the edit taboo panel to have cancel
anotherjesse (author)
Sat Jul 19 19:21:41 -0700 2008
commit  120986b6244920c68e21589bf010a8b1d8f442de
tree    01a2267ff5b3cd06e0c14d5c484433459ed4cce3
parent  03bd8ca1c6ac92c34b7fd4d072a1c1c17b7a57e9
...
60
61
62
 
 
 
 
63
64
65
...
60
61
62
63
64
65
66
67
68
69
0
@@ -60,6 +60,10 @@ function Taboo() {
0
     document.getElementById('taboo-details').hidePopup();
0
   };
0
 
0
+ this.panelClose = function() {
0
+ document.getElementById('taboo-details').hidePopup();
0
+ };
0
+
0
   this.gotoRecent = function(targetNode, event) {
0
     event.preventDefault();
0
     event.stopPropagation();
...
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
 
 
 
 
 
75
76
77
78
79
80
81
82
83
84
85
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
88
89
...
60
61
62
 
 
 
 
 
 
 
 
 
 
 
 
63
64
65
66
67
68
 
 
 
 
 
 
 
 
 
 
 
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
0
@@ -60,30 +60,37 @@
0
     </panel>
0
 
0
     <panel id="taboo-details" onpopupshown="taboo.focusDetails()" hidden="true">
0
- <hbox style="padding: 5px">
0
- <vbox>
0
- <image id="taboo-image" style="padding: 2px" />
0
- <spacer flex="1" />
0
- </vbox>
0
- <vbox width="400">
0
- <label value="Title" control="taboo-title" accesskey="T" />
0
- <textbox id="taboo-title" />
0
- <label value="Notes" control="taboo-notes" accesskey="n" />
0
- <textbox id="taboo-notes" multiline="true" rows="5" />
0
- <spacer height="10" />
0
- <hbox>
0
+ <vbox style="padding: 5px">
0
+ <label value="Edit Taboo" style="font-size: 150%" />
0
+ <hbox>
0
+ <vbox>
0
+ <image id="taboo-image" style="padding: 2px" />
0
             <spacer flex="1" />
0
- <button id="taboo-unsave"
0
- oncommand="taboo.panelDelete();"
0
- label="Remove"
0
- accesskey="R" />
0
- <button id="taboo-update"
0
- oncommand="taboo.panelUpdate();"
0
- label="Done"
0
- accesskey="D" />
0
- </hbox>
0
- </vbox>
0
- </hbox>
0
+ </vbox>
0
+ <vbox width="400">
0
+ <label value="Title" control="taboo-title" accesskey="T" />
0
+ <textbox id="taboo-title" />
0
+ <label value="Notes" control="taboo-notes" accesskey="n" />
0
+ <textbox id="taboo-notes" multiline="true" rows="5" />
0
+ <spacer height="10" />
0
+ <hbox>
0
+ <button id="taboo-unsave"
0
+ oncommand="taboo.panelDelete();"
0
+ label="Remove Taboo"
0
+ accesskey="R" />
0
+ <spacer flex="1" />
0
+ <button id="taboo-close-panel"
0
+ oncommand="taboo.panelClose();"
0
+ label="Cancel"
0
+ accessKey="C" />
0
+ <button id="taboo-update"
0
+ oncommand="taboo.panelUpdate();"
0
+ label="Done"
0
+ accesskey="D" />
0
+ </hbox>
0
+ </vbox>
0
+ </hbox>
0
+ </vbox>
0
     </panel>
0
 
0
   </toolbox>

Comments

    No one has commented yet.