* refactor code for tutorial mode.

This commit is contained in:
Catouse
2016-04-29 10:13:46 +08:00
parent 5e8d1e160f
commit 40831717f1
4 changed files with 38 additions and 20 deletions
+2 -2
View File
@@ -167,7 +167,7 @@ $(function()
var postData = [];
$.each(setting, function(name, value) {if(value) postData.push(name);});
$.post('<?php echo inLink('index') ?>', {finish: postData.join(',')}, function(e)
$.post('<?php echo inLink('ajaxSetTasks') ?>', {finish: postData.join(',')}, function(e)
{
if(e.result === 'success')
{
@@ -186,7 +186,7 @@ $(function()
var resetTasks = function()
{
$.post('<?php echo inLink('index') ?>', {finish: ''}, function(e)
$.post('<?php echo inLink('ajaxSetTasks') ?>', {finish: ''}, function(e)
{
if(e.result === 'success')
{