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

Commit b7f2b16

Browse files
author
Reto Ryter
committed
fix problem of overlay reopening immediately after closing it
1 parent 78cc7c7 commit b7f2b16

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Resources/public/js/init.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,7 @@ var AdminTree = (function () {
165165

166166
if (config.editInOverlay) {
167167
generateDialog(
168-
Routing.generate(config.types[data.rslt.obj.attr("rel")].routes.select_route, routing_defaults),
169-
function () {
170-
treeInst.jstree('refresh');
171-
}
168+
Routing.generate(config.types[data.rslt.obj.attr("rel")].routes.select_route, routing_defaults)
172169
);
173170
} else {
174171
window.location = Routing.generate(config.types[data.rslt.obj.attr("rel")].routes.select_route, routing_defaults);

0 commit comments

Comments
 (0)