diff public/javascripts/jstoolbar/textile.js @ 1464:261b3d9a4903 redmine-2.4

Update to Redmine 2.4 branch rev 12663
author Chris Cannam
date Tue, 14 Jan 2014 14:37:42 +0000
parents 513646585e45
children
line wrap: on
line diff
--- a/public/javascripts/jstoolbar/textile.js	Fri Jun 14 09:05:06 2013 +0100
+++ b/public/javascripts/jstoolbar/textile.js	Tue Jan 14 14:37:42 2014 +0000
@@ -198,3 +198,14 @@
 		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') }
+	}
+}