mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
Fixed fromDocument usage in .cms-tree
See https://github.com/silverstripe/silverstripe-cms/pull/823
This commit is contained in:
parent
26bca388e8
commit
c4e54fd7eb
@ -2,13 +2,10 @@
|
|||||||
|
|
||||||
$.entwine('ss.tree', function($){
|
$.entwine('ss.tree', function($){
|
||||||
$('.cms-tree').entwine({
|
$('.cms-tree').entwine({
|
||||||
onadd: function(){
|
fromDocument: {
|
||||||
var self = this;
|
'oncontext_show.vakata': function(e){
|
||||||
$(document).on('context_show.vakata', function(){
|
this.adjustContextClass();
|
||||||
self.adjustContextClass(this);
|
}
|
||||||
});
|
|
||||||
|
|
||||||
this._super();
|
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
* Add and remove classes from context menus to allow for
|
* Add and remove classes from context menus to allow for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user