fix redirect

pull/20/head
Henrique Dias 2015-09-26 22:12:56 +01:00
parent 6d7156c30f
commit 24871ee151
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -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) {