Code

Updated completer
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 22 Apr 2010 14:38:31 +0000 (14:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 22 Apr 2010 14:38:31 +0000 (14:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17797 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/generic/references/class_aclResolver.inc

index 5dc68956990852147809ef8788a426343c3b8deb..0b3134e908e0809d8e5f046cd606ecfd5bf5bddd 100644 (file)
@@ -131,7 +131,7 @@ class aclResolver
             $autocompleter ="
                 <input class='filter_textfield' placeholder='"._("Search")."...' 
                 id='aclTarget' name='aclTarget' type='text' value='' 
-                onChange='document.mainform.submit();'>
+                onChange='\$('aclTargetSubmit').focus();'>
 
                 <div id='autocomplete' class='autocomplete'></div>
                 <script type='text/javascript'>
@@ -140,7 +140,8 @@ class aclResolver
                         'autocomplete', 
                         'autocomplete.php', 
                         { minChars: 3, frequency: 0.5 });
-            </script>";
+            </script>
+            ".image("images/lists/submit.png","aclTargetSubmit");
 
             // Base template - each entry start with this 
             $tpl =