Skip to content
Browse files

BUGFIX: add missing onunmatches causing exceptions in entwine

  • Loading branch information...
1 parent 4e5e88e commit 00734f5498e335cefdb01bf1778c9c45c25d09f3 @mateusz mateusz committed May 14, 2012
View
5 javascript/AssetAdmin.DragDrop.js
@@ -75,6 +75,9 @@
this._super();
},
+ onunmatch: function() {
+ this._super();
+ },
/**
* Function: onmousedown
*
@@ -90,4 +93,4 @@
}
});
});
-}(jQuery));
+}(jQuery));
View
9 javascript/CMSMain.AddForm.js
@@ -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
12 javascript/CMSMain.EditForm.js
@@ -45,6 +45,9 @@
this._super();
},
+ onunmatch: function() {
+ this._super();
+ },
/**
* Function: updateRelatedFields
@@ -132,6 +135,9 @@
this._super();
},
+ onunmatch: function() {
+ this._super();
+ },
/**
* Function: _toggleSelection
@@ -194,6 +200,9 @@
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
5 javascript/CMSPageHistoryController.js
@@ -39,6 +39,9 @@
this._super();
},
+ onunmatch: function() {
+ this._super();
+ },
/**
* Function: submit.
*
@@ -153,4 +156,4 @@
})
});
-})(jQuery);
+})(jQuery);
View
3 javascript/RedirectorPage.js
@@ -6,6 +6,9 @@
if(self.attr('checked')) this.toggle();
this._super();
},
+ onunmatch: function() {
+ this._super();
+ },
onclick: function() {
this.toggle();
},
View
5 javascript/SiteTreeURLSegmentField.js
@@ -17,6 +17,9 @@
this._super();
},
+ onunmatch: function() {
+ this._super();
+ },
/**
* Function: edit
@@ -204,4 +207,4 @@
}
});
});
-}(jQuery));
+}(jQuery));

0 comments on commit 00734f5

Please sign in to comment.
Something went wrong with that request. Please try again.