This commit is contained in:
wangyidong
2021-07-29 16:47:56 +08:00
parent f46c5f5072
commit 7055857a90
+4 -1
View File
@@ -253,7 +253,10 @@ $(function()
var item = $li.data();
orders['orders[' + item.id + ']'] = $li.attr('data-order') || item.order;
});
$.post('<?php echo $this->createLink('tree', 'updateOrder', "rootID=$rootID&viewType=$viewType");?>', orders).error(function()
$.post('<?php echo $this->createLink('tree', 'updateOrder', "rootID=$rootID&viewType=$viewType");?>', orders, function(data)
{
$('.main-col').load(location.href + ' .main-col .panel');
}).error(function()
{
bootbox.alert(lang.timeout);
});