diff --git a/javascript/AssetAdmin.DragDrop.js b/javascript/AssetAdmin.DragDrop.js index a0285538..30804eea 100644 --- a/javascript/AssetAdmin.DragDrop.js +++ b/javascript/AssetAdmin.DragDrop.js @@ -75,6 +75,9 @@ this._super(); }, + onunmatch: function() { + this._super(); + }, /** * Function: onmousedown * @@ -90,4 +93,4 @@ } }); }); -}(jQuery)); \ No newline at end of file +}(jQuery)); diff --git a/javascript/CMSMain.AddForm.js b/javascript/CMSMain.AddForm.js index b466627b..4a6b9985 100644 --- a/javascript/CMSMain.AddForm.js +++ b/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. diff --git a/javascript/CMSMain.EditForm.js b/javascript/CMSMain.EditForm.js index fef61b79..be69f64f 100644 --- a/javascript/CMSMain.EditForm.js +++ b/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 @@ -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(); diff --git a/javascript/CMSPageHistoryController.js b/javascript/CMSPageHistoryController.js index ab6a0bc2..4ac92caa 100644 --- a/javascript/CMSPageHistoryController.js +++ b/javascript/CMSPageHistoryController.js @@ -39,6 +39,9 @@ this._super(); }, + onunmatch: function() { + this._super(); + }, /** * Function: submit. * @@ -153,4 +156,4 @@ }) }); -})(jQuery); \ No newline at end of file +})(jQuery); diff --git a/javascript/RedirectorPage.js b/javascript/RedirectorPage.js index 0b780dbb..b1c14c7b 100644 --- a/javascript/RedirectorPage.js +++ b/javascript/RedirectorPage.js @@ -6,6 +6,9 @@ if(self.attr('checked')) this.toggle(); this._super(); }, + onunmatch: function() { + this._super(); + }, onclick: function() { this.toggle(); }, diff --git a/javascript/SiteTreeURLSegmentField.js b/javascript/SiteTreeURLSegmentField.js index 432fb524..086e4e7b 100644 --- a/javascript/SiteTreeURLSegmentField.js +++ b/javascript/SiteTreeURLSegmentField.js @@ -17,6 +17,9 @@ this._super(); }, + onunmatch: function() { + this._super(); + }, /** * Function: edit @@ -204,4 +207,4 @@ } }); }); -}(jQuery)); \ No newline at end of file +}(jQuery));