mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
MINOR Removed unnecessary console.*() from subsites javascript files
This commit is contained in:
parent
1b4c314304
commit
d36a6a3bde
@ -1,7 +1,6 @@
|
||||
Behaviour.register({
|
||||
'#SubsiteActions select' : {
|
||||
onchange: function() {
|
||||
console.log('onchange', this);
|
||||
if($('Form_AddPageOptionsForm_SubsiteID')) {
|
||||
$('Form_AddPageOptionsForm_SubsiteID').value = this.value;
|
||||
}
|
||||
@ -46,7 +45,6 @@ Behaviour.register({
|
||||
newOption.text = opt.firstChild.nodeValue;
|
||||
|
||||
newOption.value = opt.value;
|
||||
//console.log(newOption.text + ' ' + newOption.value);
|
||||
try {
|
||||
origSelect.add(newOption, null);
|
||||
} catch(ex) {
|
||||
|
Loading…
Reference in New Issue
Block a user