mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
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:
parent
0a29388e9e
commit
1b17a478c9
@ -10,7 +10,7 @@
|
|||||||
var form = $('form.htmleditorfield-linkform');
|
var form = $('form.htmleditorfield-linkform');
|
||||||
var show = false;
|
var show = false;
|
||||||
|
|
||||||
if (this.attr('value') === 'document') {
|
if (this.attr('value') === 'documentopt') {
|
||||||
if (this.is(':checked')) {
|
if (this.is(':checked')) {
|
||||||
show = true;
|
show = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user