PDA

View Full Version : 3.3.x examples/desktop/js/TaskBar.js: quoting broken in templates



hl42
21 Jan 2011, 2:59 AM
Minor bug:

There's a few quotes missing in examples/desktop/js/TaskBar.js.
This produces invalid HTML.



--- TaskBar.js 2011-01-21 11:52:48.719962999 +0100
+++ TaskBar.js.new 2011-01-21 11:52:43.382884808 +0100
@@ -35,5 +35,5 @@
'<table cellspacing="0" class="x-btn"><tbody class="{1}"><tr>',
'<td class="ux-startbutton-left"><i> </i></td>',
- '<td class="ux-startbutton-center"><em class="{2} unselectable="on">',
+ '<td class="ux-startbutton-center"><em class="{2}" unselectable="on">',
'<button class="x-btn-text" type="{0}" style="height:30px;"></button>',
'</em></td>',
@@ -406,5 +406,5 @@
'<table cellspacing="0" class="x-btn {3}"><tbody><tr>',
'<td class="ux-taskbutton-left"><i> </i></td>',
- '<td class="ux-taskbutton-center"><em class="{5} unselectable="on">',
+ '<td class="ux-taskbutton-center"><em class="{5}" unselectable="on">',
'<button class="x-btn-text {2}" type="{1}" style="height:28px;">{0}</button>',
'</em></td>',