fix path when changing status.

pull/2077/head
Isaac Connor 2017-10-02 11:55:17 -04:00
parent 15ba7d2a35
commit 16a731af1c
1 changed files with 1 additions and 2 deletions

View File

@ -31,7 +31,6 @@ $j(document).ready(function() {
// Save a new state
$j("#btnSave").click(function() {
StateStuff( 'save', undefined, $j("#newState").val() );
});
// Change state
@ -53,7 +52,7 @@ $j(document).ready(function() {
$j.ajax({
type: 'POST',
url: '/index.php',
url: thisUrl,
data: formData,
dataType: 'html',
enocde: true