# HG changeset patch # User Matti Hamalainen # Date 1386349099 -7200 # Node ID 52d11e7e9d620cb4c29dd9ec2532c98b81e23bd7 # Parent ac7357d52ff69817b29449b1ea53b466bf666205 Refresh rotation list list when needed. diff -r ac7357d52ff6 -r 52d11e7e9d62 admin.php --- a/admin.php Fri Dec 06 18:55:04 2013 +0200 +++ b/admin.php Fri Dec 06 18:58:19 2013 +0200 @@ -562,9 +562,16 @@ // // Rotation list editing and handling // +function refreshRotationListSel() +{ + jsRefreshItems("ctrlRotationListsSel", "infoRotationLists", ""); +} + + function refreshRotationListEdit(id) { jsRefreshItems("ctrlRotationListEdit", "infoRotationListEdit", "&id="+id+"&full=0"); + refreshRotationListSel(); } @@ -661,12 +668,6 @@ } -function refreshRotationListSel() -{ - jsRefreshItems("ctrlRotationListsSel", "infoRotationLists", ""); -} - - function newRotationList() { var msuccess = function(txt)