diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2015-04-20 12:14:04 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2015-04-20 12:14:04 +0000 |
commit | 958d93edbc6530962f369cc5525a0fd5aa43b609 (patch) | |
tree | 8ba303921cfd0d81254dcdc2253acd0651254d76 /public/javascripts | |
parent | 47a6a54e87d697c157cd2c2e4f795d29dfa422bb (diff) | |
download | redmine-958d93edbc6530962f369cc5525a0fd5aa43b609.tar.gz redmine-958d93edbc6530962f369cc5525a0fd5aa43b609.zip |
add markdown wiki syntax help to tool bar (#16373)
Contributed by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@14191 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts')
-rw-r--r-- | public/javascripts/jstoolbar/markdown.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/public/javascripts/jstoolbar/markdown.js b/public/javascripts/jstoolbar/markdown.js index 8a9935a9a..f2258aff7 100644 --- a/public/javascripts/jstoolbar/markdown.js +++ b/public/javascripts/jstoolbar/markdown.js @@ -192,3 +192,11 @@ jsToolBar.prototype.elements.img = { // 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') } + } +} |