summaryrefslogtreecommitdiffstats
path: root/public/javascripts/jstoolbar/markdown.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/jstoolbar/markdown.js')
-rw-r--r--public/javascripts/jstoolbar/markdown.js8
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') }
+ }
+}