mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX: add missing _super calls to all matchers and unmatchers
Otherwise some matchers might not be triggered as expected.
This commit is contained in:
parent
fb64cad34e
commit
b75483e1da
@ -3,11 +3,12 @@
|
||||
*/
|
||||
|
||||
(function($) {
|
||||
$.entwine('ss', function($){
|
||||
/**
|
||||
* Delete selected folders through "batch actions" tab.
|
||||
*/
|
||||
$(document).ready(function() {
|
||||
$('#Form_BatchActionsForm').entwine('ss').register(
|
||||
$('#Form_BatchActionsForm').register(
|
||||
// TODO Hardcoding of base URL
|
||||
'admin/assets/batchactions/delete',
|
||||
function(ids) {
|
||||
@ -22,8 +23,6 @@
|
||||
);
|
||||
});
|
||||
|
||||
$.entwine('ss', function($){
|
||||
|
||||
/**
|
||||
* Load folder detail view via controller methods
|
||||
* rather than built-in GridField view (which is only geared towards showing files).
|
||||
|
@ -46,6 +46,7 @@
|
||||
self.updateTypeList();
|
||||
});
|
||||
this.updateTypeList();
|
||||
this._super();
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -14,6 +14,9 @@
|
||||
var id = $('.cms-edit-form :input[name=ID]').val();
|
||||
if (id) this[0].setCurrentByIdx(id);
|
||||
|
||||
this._super();
|
||||
},
|
||||
onunmatch: function() {
|
||||
this._super();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user