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