mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merge pull request #133 from mateusz/entwines3
BUGFIX: add missing onunmatches causing exceptions in entwine
This commit is contained in:
commit
4f78187ff4
@ -75,6 +75,9 @@
|
|||||||
|
|
||||||
this._super();
|
this._super();
|
||||||
},
|
},
|
||||||
|
onunmatch: function() {
|
||||||
|
this._super();
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* Function: onmousedown
|
* Function: onmousedown
|
||||||
*
|
*
|
||||||
|
@ -11,6 +11,9 @@
|
|||||||
ghost: true
|
ghost: true
|
||||||
});
|
});
|
||||||
this._super();
|
this._super();
|
||||||
|
},
|
||||||
|
onunmatch: function() {
|
||||||
|
this._super();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -19,6 +22,9 @@
|
|||||||
if(this.is(':checked')) this.trigger('click');
|
if(this.is(':checked')) this.trigger('click');
|
||||||
this._super();
|
this._super();
|
||||||
},
|
},
|
||||||
|
onunmatch: function() {
|
||||||
|
this._super();
|
||||||
|
},
|
||||||
onclick: function() {
|
onclick: function() {
|
||||||
var el = this.parents('li:first');
|
var el = this.parents('li:first');
|
||||||
el.setSelected(true);
|
el.setSelected(true);
|
||||||
@ -48,6 +54,9 @@
|
|||||||
this.updateTypeList();
|
this.updateTypeList();
|
||||||
this._super();
|
this._super();
|
||||||
},
|
},
|
||||||
|
onunmatch: function() {
|
||||||
|
this._super();
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Limit page type selection based on parent class.
|
* Limit page type selection based on parent class.
|
||||||
|
@ -45,6 +45,9 @@
|
|||||||
|
|
||||||
this._super();
|
this._super();
|
||||||
},
|
},
|
||||||
|
onunmatch: function() {
|
||||||
|
this._super();
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function: updateRelatedFields
|
* Function: updateRelatedFields
|
||||||
@ -132,6 +135,9 @@
|
|||||||
|
|
||||||
this._super();
|
this._super();
|
||||||
},
|
},
|
||||||
|
onunmatch: function() {
|
||||||
|
this._super();
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function: _toggleSelection
|
* Function: _toggleSelection
|
||||||
@ -193,6 +199,9 @@
|
|||||||
var currentVal = this.find('input[name=' + this.attr('id') + ']:checked').val();
|
var currentVal = this.find('input[name=' + this.attr('id') + ']:checked').val();
|
||||||
dropdown[currentVal == 'OnlyTheseUsers' ? 'show' : 'hide']();
|
dropdown[currentVal == 'OnlyTheseUsers' ? 'show' : 'hide']();
|
||||||
|
|
||||||
|
this._super();
|
||||||
|
},
|
||||||
|
onunmatch: function() {
|
||||||
this._super();
|
this._super();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -264,6 +273,9 @@
|
|||||||
this.redraw();
|
this.redraw();
|
||||||
this._super();
|
this._super();
|
||||||
},
|
},
|
||||||
|
onunmatch: function() {
|
||||||
|
this._super();
|
||||||
|
},
|
||||||
redraw: function() {
|
redraw: function() {
|
||||||
var treeField = $('.cms-edit-form.CMSPageSettingsController #ParentID');
|
var treeField = $('.cms-edit-form.CMSPageSettingsController #ParentID');
|
||||||
if ($(this).attr('id') == 'Form_EditForm_ParentType_root') treeField.slideUp();
|
if ($(this).attr('id') == 'Form_EditForm_ParentType_root') treeField.slideUp();
|
||||||
|
@ -39,6 +39,9 @@
|
|||||||
|
|
||||||
this._super();
|
this._super();
|
||||||
},
|
},
|
||||||
|
onunmatch: function() {
|
||||||
|
this._super();
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* Function: submit.
|
* Function: submit.
|
||||||
*
|
*
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
if(self.attr('checked')) this.toggle();
|
if(self.attr('checked')) this.toggle();
|
||||||
this._super();
|
this._super();
|
||||||
},
|
},
|
||||||
|
onunmatch: function() {
|
||||||
|
this._super();
|
||||||
|
},
|
||||||
onclick: function() {
|
onclick: function() {
|
||||||
this.toggle();
|
this.toggle();
|
||||||
},
|
},
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
|
|
||||||
this._super();
|
this._super();
|
||||||
},
|
},
|
||||||
|
onunmatch: function() {
|
||||||
|
this._super();
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function: edit
|
* Function: edit
|
||||||
|
Loading…
Reference in New Issue
Block a user