comparison public/javascripts/jstoolbar/jstoolbar.js @ 1295:622f24f53b42 redmine-2.3

Update to Redmine SVN revision 11972 on 2.3-stable branch
author Chris Cannam
date Fri, 14 Jun 2013 09:02:21 +0100
parents 433d4f72a19b
children
comparison
equal deleted inserted replaced
1294:3e4c3460b6ca 1295:622f24f53b42
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];