Code

Updated logout page.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 14 Oct 2010 16:05:15 +0000 (16:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 14 Oct 2010 16:05:15 +0000 (16:05 +0000)
-Focus wasn't working

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20047 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/ihtml/themes/default/logout.tpl

index d55dd767a9a4456b768732320ea6d04365fe3742..efe77f7782948831f1b093f20f0d6e60a6285e1f 100644 (file)
 
  <div class='plugin-actions'>
   <center>
-   <button type="submit" name="dummy">{t}Login again{/t}</button>
+   <button type="submit" name="dummy" id="dummy">{t}Login again{/t}</button>
   </center>
  </div>
 </div>
 
 </form>
 
-<!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
-  <!-- // First input field on page
-  focus_field('dummy');
-  -->
+  $('dummy').focus();
 </script>
 
 </body>