From 1b17a478c96c7a1d514d0ffa8c0ca95c8b1669f6 Mon Sep 17 00:00:00 2001 From: Normann Lou Date: Fri, 21 Sep 2012 13:03:53 +1200 Subject: [PATCH] BUGFIX: since we change the option value for 'download a document' option in InsertLinkForm, as 'documentopt', we need to use the same string for our js code --- javascript/DocumentHtmlEditorFieldToolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/DocumentHtmlEditorFieldToolbar.js b/javascript/DocumentHtmlEditorFieldToolbar.js index 7352489..3981f79 100644 --- a/javascript/DocumentHtmlEditorFieldToolbar.js +++ b/javascript/DocumentHtmlEditorFieldToolbar.js @@ -10,7 +10,7 @@ var form = $('form.htmleditorfield-linkform'); var show = false; - if (this.attr('value') === 'document') { + if (this.attr('value') === 'documentopt') { if (this.is(':checked')) { show = true; }