Path is now sent on rename.
This commit is contained in:
@@ -139,7 +139,6 @@ $(document).ready(function() {
|
|||||||
jQuery.ajax( {
|
jQuery.ajax( {
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: baseUrl + 'edit/' + oldName,
|
url: baseUrl + 'edit/' + oldName,
|
||||||
// omit path: pathName until https://github.com/github/gollum/issues/446 is fixed.
|
|
||||||
data: { path: path, rename: newName, page: oldName, message: msg },
|
data: { path: path, rename: newName, page: oldName, message: msg },
|
||||||
success: function() {
|
success: function() {
|
||||||
window.location = baseUrl + encodeURIComponent(newName);
|
window.location = baseUrl + encodeURIComponent(newName);
|
||||||
|
|||||||
Reference in New Issue
Block a user