mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
"Link type" selection in "insert link" panel
This commit is contained in:
parent
97569d75d1
commit
9b23e8c6c3
@ -558,7 +558,7 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE;
|
||||
|
||||
// Toggle field visibility depending on the link type.
|
||||
this.find('div.content .field').hide();
|
||||
this.find('.field[id$="LinkType_Holder"]').show();
|
||||
this.find('.field[id$="LinkType"]').show();
|
||||
this.find('.field[id$="' + linkType +'_Holder"]').show();
|
||||
|
||||
if(linkType == 'internal' || linkType == 'anchor') {
|
||||
|
Loading…
Reference in New Issue
Block a user