statamic-pagereorder icon indicating copy to clipboard operation
statamic-pagereorder copied to clipboard

Statamic in subfolder not accounted for in javascript

Open joakimbording opened this issue 9 years ago • 0 comments

Tried build 0.3.0 on Statamic 1.10.3 with Chrome 40.0.

After dragging and dropping a page in the control panel I get the error:

There was an error saving your page order. Please try again.

In the console I get the error:

POST http://localhost/TRIGGER/pagereorder/reordersubpages 404 (Not Found)

The correct path when i have it installed in a subfolder should be:

http://localhost/subfolder/TRIGGER/pagereorder/reordersubpages

Need som extra magic on line 111 in jquery.page-reorder.coffee that account for the site root I presume :)

joakimbording avatar Mar 07 '15 11:03 joakimbording