changeset 462:52d11e7e9d62

Refresh rotation list list when needed.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 06 Dec 2013 18:58:19 +0200
parents ac7357d52ff6
children 782866ee84e0
files admin.php
diffstat 1 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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)