X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/examples/desktop/js/TaskBar.js
diff --git a/examples/desktop/js/TaskBar.js b/examples/desktop/js/TaskBar.js
index 86513c23..0e21f881 100644
--- a/examples/desktop/js/TaskBar.js
+++ b/examples/desktop/js/TaskBar.js
@@ -1,11 +1,9 @@
-/*
- * Ext JS Library 2.2.1
- * Copyright(c) 2006-2009, Ext JS, LLC.
- * licensing@extjs.com
- *
- * http://extjs.com/license
- */
-
+/*!
+ * Ext JS Library 3.0.0
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
/**
* @class Ext.ux.TaskBar
* @extends Ext.util.Observable
@@ -32,14 +30,18 @@ Ext.extend(Ext.ux.TaskBar, Ext.util.Observable, {
menu: this.startMenu,
menuAlign: 'bl-tl',
renderTo: 'ux-taskbar-start',
- clickEvent:'mousedown',
+ clickEvent: 'mousedown',
template: new Ext.Template(
- '
',
- ' | | | ',
+ '',
+ ' | ',
+ '',
+ '',
+ ' | ',
+ ' | ',
"
")
});
-
- var width = Ext.get('ux-startbutton').getWidth()+10;
+
+ var width = this.startBtn.getEl().getWidth()+10;
var sbBox = new Ext.BoxComponent({
el: 'ux-taskbar-start',
@@ -400,9 +402,13 @@ Ext.ux.TaskBar.TaskButton = function(win, el){
},
clickEvent:'mousedown',
template: new Ext.Template(
- '")
+ '',
+ ' | ',
+ '',
+ '',
+ ' | ',
+ ' | ',
+ "
")
});
};