Merge pull request #1331 from kinglozzer/pulls/redirectorpage-toggle-fix

FIX: RedirectorPage toggles not working (fixes #1328)
This commit is contained in:
Damian Mooyman 2015-12-22 17:01:13 +13:00
commit 502a2abbcc

View File

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