changeset 1031:d1009f6bbc9c beta

small fix for users groups choose dialog
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 11 Feb 2011 15:25:29 +0100
parents 6b37f08de732
children 2e9f2bd28143
files rhodecode/templates/admin/users_groups/users_group_edit.html
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/admin/users_groups/users_group_edit.html	Fri Feb 11 13:07:26 2011 +0100
+++ b/rhodecode/templates/admin/users_groups/users_group_edit.html	Fri Feb 11 15:25:29 2011 +0100
@@ -121,12 +121,12 @@
             }
             
             //clear 'selected' select
-            c.options.length = 0;
+            //c.options.length = 0;
 
             //fill it with remembered options
-            for(var i = 0;node = cache[i];i++){
-                c.options[i]=new Option(node.text, node.value, false, false);
-            }
+            //for(var i = 0;node = cache[i];i++){
+            //   c.options[i]=new Option(node.text, node.value, false, false);
+            //}
             
            
             //get all available options to cache