fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [11248] API: more on ajax menu


From: Sigurd Nes
Subject: [Fmsystem-commits] [11248] API: more on ajax menu
Date: Fri, 02 Aug 2013 11:54:38 +0000

Revision: 11248
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11248
Author:   sigurdne
Date:     2013-08-02 11:54:38 +0000 (Fri, 02 Aug 2013)
Log Message:
-----------
API: more on ajax menu

Modified Paths:
--------------
    trunk/phpgwapi/templates/base/login.tpl

Modified: trunk/phpgwapi/templates/base/login.tpl
===================================================================
--- trunk/phpgwapi/templates/base/login.tpl     2013-08-02 11:42:15 UTC (rev 
11247)
+++ trunk/phpgwapi/templates/base/login.tpl     2013-08-02 11:54:38 UTC (rev 
11248)
@@ -25,6 +25,19 @@
        <link rel="stylesheet" href="{rounded_css}" type="text/css">
 
        {onload}
+
+       <script type="text/javascript">
+               function do_login()
+               {
+                       if(typeof(Storage)!=="undefined")
+                       {
+                               sessionStorage.cached_menu_tree_data = '';
+                               sessionStorage.cached_mapping = '';
+                       }
+                       document.login.submit();
+               }
+       </script>
+
 </head>
 
 <body>
@@ -124,7 +137,7 @@
                                                                        <div 
class="button_holder">
                                                                                
<div class="button1">
                                                                                
        <div class="next">
-                                                                               
                <a onclick="document.login.submit();">{lang_login}</a>
+                                                                               
                <a onclick="do_login();">{lang_login}</a>
                                                                                
        </div>
                                                                                
</div>
                                                                        </div>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]