fix redirect
parent
6d7156c30f
commit
24871ee151
File diff suppressed because one or more lines are too long
|
@ -121,7 +121,7 @@ $(document).on('ready pjax:success', function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
$.pjax({
|
$.pjax({
|
||||||
url: "/admin/edit/" + filename,
|
url: window.location.pathname.replace("browse", "edit") + filename,
|
||||||
container: '#content'
|
container: '#content'
|
||||||
})
|
})
|
||||||
}).fail(function(data) {
|
}).fail(function(data) {
|
||||||
|
|
Loading…
Reference in New Issue