mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +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();
|
||||
},
|
||||
onunmatch: function() {
|
||||
this._super();
|
||||
},
|
||||
/**
|
||||
* Function: onmousedown
|
||||
*
|
||||
|
@ -11,6 +11,9 @@
|
||||
ghost: true
|
||||
});
|
||||
this._super();
|
||||
},
|
||||
onunmatch: function() {
|
||||
this._super();
|
||||
}
|
||||
});
|
||||
|
||||
@ -19,6 +22,9 @@
|
||||
if(this.is(':checked')) this.trigger('click');
|
||||
this._super();
|
||||
},
|
||||
onunmatch: function() {
|
||||
this._super();
|
||||
},
|
||||
onclick: function() {
|
||||
var el = this.parents('li:first');
|
||||
el.setSelected(true);
|
||||
@ -48,6 +54,9 @@
|
||||
this.updateTypeList();
|
||||
this._super();
|
||||
},
|
||||
onunmatch: function() {
|
||||
this._super();
|
||||
},
|
||||
|
||||
/**
|
||||
* Limit page type selection based on parent class.
|
||||
|
@ -45,6 +45,9 @@
|
||||
|
||||
this._super();
|
||||
},
|
||||
onunmatch: function() {
|
||||
this._super();
|
||||
},
|
||||
|
||||
/**
|
||||
* Function: updateRelatedFields
|
||||
@ -132,6 +135,9 @@
|
||||
|
||||
this._super();
|
||||
},
|
||||
onunmatch: function() {
|
||||
this._super();
|
||||
},
|
||||
|
||||
/**
|
||||
* Function: _toggleSelection
|
||||
@ -193,6 +199,9 @@
|
||||
var currentVal = this.find('input[name=' + this.attr('id') + ']:checked').val();
|
||||
dropdown[currentVal == 'OnlyTheseUsers' ? 'show' : 'hide']();
|
||||
|
||||
this._super();
|
||||
},
|
||||
onunmatch: function() {
|
||||
this._super();
|
||||
}
|
||||
});
|
||||
@ -264,6 +273,9 @@
|
||||
this.redraw();
|
||||
this._super();
|
||||
},
|
||||
onunmatch: function() {
|
||||
this._super();
|
||||
},
|
||||
redraw: function() {
|
||||
var treeField = $('.cms-edit-form.CMSPageSettingsController #ParentID');
|
||||
if ($(this).attr('id') == 'Form_EditForm_ParentType_root') treeField.slideUp();
|
||||
|
@ -39,6 +39,9 @@
|
||||
|
||||
this._super();
|
||||
},
|
||||
onunmatch: function() {
|
||||
this._super();
|
||||
},
|
||||
/**
|
||||
* Function: submit.
|
||||
*
|
||||
|
@ -6,6 +6,9 @@
|
||||
if(self.attr('checked')) this.toggle();
|
||||
this._super();
|
||||
},
|
||||
onunmatch: function() {
|
||||
this._super();
|
||||
},
|
||||
onclick: function() {
|
||||
this.toggle();
|
||||
},
|
||||
|
@ -17,6 +17,9 @@
|
||||
|
||||
this._super();
|
||||
},
|
||||
onunmatch: function() {
|
||||
this._super();
|
||||
},
|
||||
|
||||
/**
|
||||
* Function: edit
|
||||
|
Loading…
Reference in New Issue
Block a user