mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
FIX: RedirectorPage toggles not working (fixes #1328)
This commit is contained in:
parent
a40c8e034a
commit
97e90b8ebd
@ -14,11 +14,11 @@
|
||||
},
|
||||
toggle: function() {
|
||||
if($(this).attr('value') == 'Internal') {
|
||||
$('#ExternalURL').hide();
|
||||
$('#LinkToID').show();
|
||||
$('#Form_EditForm_ExternalURL_Holder').hide();
|
||||
$('#Form_EditForm_LinkToID_Holder').show();
|
||||
} else {
|
||||
$('#ExternalURL').show();
|
||||
$('#LinkToID').hide();
|
||||
$('#Form_EditForm_ExternalURL_Holder').show();
|
||||
$('#Form_EditForm_LinkToID_Holder').hide();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user