Merge pull request #133 from mateusz/entwines3

BUGFIX: add missing onunmatches causing exceptions in entwine
This commit is contained in:
Sean Harvey 2012-05-17 19:34:05 -07:00
commit 4f78187ff4
6 changed files with 36 additions and 3 deletions

View File

@ -75,6 +75,9 @@
this._super();
},
onunmatch: function() {
this._super();
},
/**
* Function: onmousedown
*

View File

@ -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.

View File

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

View File

@ -39,6 +39,9 @@
this._super();
},
onunmatch: function() {
this._super();
},
/**
* Function: submit.
*

View File

@ -6,6 +6,9 @@
if(self.attr('checked')) this.toggle();
this._super();
},
onunmatch: function() {
this._super();
},
onclick: function() {
this.toggle();
},

View File

@ -17,6 +17,9 @@
this._super();
},
onunmatch: function() {
this._super();
},
/**
* Function: edit