BUGFIX: add missing onunmatches causing exceptions in entwine

This commit is contained in:
Mateusz Uzdowski 2012-05-14 11:43:55 +12:00
parent 4e5e88ef2d
commit 00734f5498
6 changed files with 36 additions and 3 deletions

View File

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

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.
*
@ -153,4 +156,4 @@
})
});
})(jQuery);
})(jQuery);

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
@ -204,4 +207,4 @@
}
});
});
}(jQuery));
}(jQuery));