Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit eaa92f8

Browse files
committed
Revert null defaults
1 parent d1bb73f commit eaa92f8

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

Resources/public/js/admin_tree.js

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -63,27 +63,9 @@ var AdminTree = (function () {
6363
};
6464

6565
my.initTree = function (config) {
66-
jQuery.extend(true, {
66+
jQuery.extend({
6767
rootNode: '/',
6868
selected: null, // will be set to the rootNode by default
69-
routing_defaults: {},
70-
selector: null,
71-
path: {
72-
expanded: null,
73-
preloaded: null
74-
},
75-
ajax: {
76-
children_url: null,
77-
move_url: null,
78-
reorder_url: null
79-
},
80-
types: {},
81-
labels: {
82-
createItem: null,
83-
deleteItem: null
84-
},
85-
createInOverlay: null,
86-
editInOverlay: null
8769
}, config);
8870

8971
if (!config.hasOwnProperty('selected')) {

0 commit comments

Comments
 (0)