mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
5911abc0f6
API CHANGE Removed several unsed JavaScript globals: sprintf(), Number.prototype.CURRENCIES, Number.prototype.toCurrency(), String.prototype.ucfirst(), jQuery.fn.clearFields(), jQuery.fn.clearInputs() MINOR Removed prototype_improvements.js and jquery_improvements.js files, now contained in individual component code (or removed altogether)
13 lines
344 B
JavaScript
13 lines
344 B
JavaScript
Behaviour.register({
|
|
'input#Form_EditForm_ExternalURL': {
|
|
onclick: function() {
|
|
document.getElementById('Form_EditForm_RedirectionType_External').checked = true;
|
|
}
|
|
},
|
|
'#TreeDropdownField_Form_EditForm_LinkToID': {
|
|
onclick: function() {
|
|
document.getElementById('Form_EditForm_RedirectionType_Internal').checked = true;
|
|
}
|
|
}
|
|
});
|