diff options
author | Michael Hamann <michael@content-space.de> | 2013-02-24 14:03:13 +0100 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2013-02-24 14:06:12 +0100 |
commit | fd215c0fad082b21c598826c70aa0c5f1e078440 (patch) | |
tree | 41467090b163df2b4b5004e87f7480e51208c195 /lib/scripts/toolbar.js | |
parent | e0d6578c4fcc8130316f82645446333b06849a0e (diff) | |
download | dokuwiki-fd215c0fad082b21c598826c70aa0c5f1e078440.tar.gz dokuwiki-fd215c0fad082b21c598826c70aa0c5f1e078440.zip |
Fix sample handling in toolbar in tb_format FS#2691
The previous fix in e38f3066cedb80722b3488e7ab3b2809b6db5363 fixed this
bug only in tb_formatln.
Diffstat (limited to 'lib/scripts/toolbar.js')
-rw-r--r-- | lib/scripts/toolbar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/toolbar.js b/lib/scripts/toolbar.js index 059a4ba5c..6d75215e0 100644 --- a/lib/scripts/toolbar.js +++ b/lib/scripts/toolbar.js @@ -72,7 +72,7 @@ function initToolbar(tbid,edid,tb, allowblock){ * @author Andreas Gohr <andi@splitbrain.org> */ function tb_format(btn, props, edid) { - var sample = props.title || props.sample; + var sample = props.sample || props.title; insertTags(edid, fixtxt(props.open), fixtxt(props.close), |