Icon for the textile help link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11087 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
+2
-1
File diff suppressed because one or more lines are too long
@@ -207,12 +207,6 @@ jsToolBar.prototype = {
|
||||
}
|
||||
this.toolNodes = {}; // vide les raccourcis DOM/**/
|
||||
|
||||
var h = document.createElement('div');
|
||||
h.className = 'help'
|
||||
h.innerHTML = this.help_link;
|
||||
'<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>';
|
||||
this.toolbar.appendChild(h);
|
||||
|
||||
// Draw toolbar elements
|
||||
var b, tool, newTool;
|
||||
|
||||
|
||||
@@ -198,3 +198,14 @@ jsToolBar.prototype.elements.img = {
|
||||
wiki: function() { this.encloseSelection("!", "!") }
|
||||
}
|
||||
}
|
||||
|
||||
// spacer
|
||||
jsToolBar.prototype.elements.space5 = {type: 'space'}
|
||||
// help
|
||||
jsToolBar.prototype.elements.help = {
|
||||
type: 'button',
|
||||
title: 'Help',
|
||||
fn: {
|
||||
wiki: function() { window.open(this.help_link, '', 'resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes') }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user