mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +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($){
|
||||
$('.cms-tree').entwine({
|
||||
onadd: function(){
|
||||
var self = this;
|
||||
$(document).on('context_show.vakata', function(){
|
||||
self.adjustContextClass(this);
|
||||
});
|
||||
|
||||
this._super();
|
||||
fromDocument: {
|
||||
'oncontext_show.vakata': function(e){
|
||||
this.adjustContextClass();
|
||||
}
|
||||
},
|
||||
/*
|
||||
* Add and remove classes from context menus to allow for
|
||||
|
Loading…
x
Reference in New Issue
Block a user