Changeset 6151 for trunk/www/logout.jsp


Ignore:
Timestamp:
Sep 27, 2012, 10:48:01 AM (10 years ago)
Author:
Nicklas Nordborg
Message:

References #1729: Move in-page <script> elements to external *.js files

Fixed on the login and footnote page and related (switch user, impersonate user)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/logout.jsp

    r6136 r6151  
    6767%>
    6868<base:page type="popup" title="<%=title%>">
    69 <base:head >
    70   <script>
    71   function beginLogout()
    72   {
    73     Main.hide('confirm');
    74     Main.hide('dialogbuttons');
    75     Main.show('logout');
    76     setTimeout("document.forms['logout'].submit()", 800);
    77   }
    78   </script>
    79 </base:head>
     69<base:head scripts="~login.js" />
    8070<base:body>
    8171  <h1><%=title%></h1>
     
    111101  </div>
    112102  <base:buttongroup subclass="dialogbuttons" id="dialogbuttons">
    113     <base:button onclick="beginLogout()" title="Yes" />
     103    <base:button onclick="Logout.startLogout()" title="Yes" />
    114104    <base:button onclick="window.close()" title="No" />
    115105  </base:buttongroup>
Note: See TracChangeset for help on using the changeset viewer.