Ticket #1189 (closed enhancement: invalid)
[cla] TaskBarItem improvement
| Reported by: | andrei.neculau@… | Owned by: | dante |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Dojox | Version: | 0.3 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by dante) (diff)
If you click on the taskbar "button", the window runs the toggle effect even if the window is already showing.
Fix:
Index: D:/xhosts/dentab.ro.my/www/js/dojo_nightly/src/widget/TaskBar.js
===================================================================
--- D:/xhosts/dentab.ro.my/www/js/dojo_nightly/src/widget/TaskBar.js (revision 5011)
+++ D:/xhosts/dentab.ro.my/www/js/dojo_nightly/src/widget/TaskBar.js (working copy)
@@ -36,7 +36,10 @@
},
onClick: function() {
- this.window.show();
+ if (!this.window.isShowing())
+ {
+ this.window.show();
+ }
}
});
Change History
Note: See
TracTickets for help on using
tickets.