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

This commit is contained in:
Normann Lou 2012-09-21 13:03:53 +12:00
parent 0a29388e9e
commit 1b17a478c9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}