comparison public/javascripts/jstoolbar/jstoolbar.js @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 622f24f53b42
children
comparison
equal deleted inserted replaced
1297:0a574315af3e 1298:4f746d8966dd
205 while (this.toolbar.hasChildNodes()) { 205 while (this.toolbar.hasChildNodes()) {
206 this.toolbar.removeChild(this.toolbar.firstChild) 206 this.toolbar.removeChild(this.toolbar.firstChild)
207 } 207 }
208 this.toolNodes = {}; // vide les raccourcis DOM/**/ 208 this.toolNodes = {}; // vide les raccourcis DOM/**/
209 209
210 var h = document.createElement('div');
211 h.className = 'help'
212 h.innerHTML = this.help_link;
213 '<a href="/help/wiki_syntax.html" onclick="window.open(\'/help/wiki_syntax.html\', \'\', \'resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes\'); return false;">Aide</a>';
214 this.toolbar.appendChild(h);
215
216 // Draw toolbar elements 210 // Draw toolbar elements
217 var b, tool, newTool; 211 var b, tool, newTool;
218 212
219 for (var i in this.elements) { 213 for (var i in this.elements) {
220 b = this.elements[i]; 214 b = this.elements[i];