Mercurial > hg > fapweb
changeset 493:7061683be67e
Refresh current entry and entrylist data in compo control if regenerating
show positions.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 07 Dec 2013 16:28:19 +0200 |
parents | 7d1f08ec1d45 |
children | b84acc29546c |
files | admin.php |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/admin.php Sat Dec 07 15:29:18 2013 +0200 +++ b/admin.php Sat Dec 07 16:28:19 2013 +0200 @@ -498,12 +498,14 @@ var msuccess = function (data) { refreshDispatchCM(id); + refreshCurrEntryData(); + refreshCurrEntryListData(); } var mcb_ok = function (data) { if (id == 0) - jsSendPOSTRequest("action=randomize&type=all&patch="+patch); + jsSendPOSTRequest("action=randomize&type=all&patch="+patch, msuccess); else jsSendPOSTRequest("action=randomize&type=compo&id="+id+"&patch="+patch, msuccess); }