Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 41ef1d3c

Von Sven Schöling vor etwa 12 Jahren hinzugefügt

  • ID 41ef1d3c6e66a19f6e1c9529d8fcef3c81dd037d
  • Vorgänger b57e2491
  • Nachfolger d6d92d88

restliche onloads im body entfernt

Unterschiede anzeigen:

templates/webpages/admin/adminlogin.html
1 1
[%- USE T8 %]
2 2
[% USE HTML %]
3 3
[% USE LxERP%]
4
<body class="admin" onload="document.getElementById('rpw').focus()">
4
<body class="admin">
5

  
6
 <script type='text/javascript'>
7
    $(function(){ document.getElementsById('rpw').focus();});
8
 </script>
5 9
 <div align="center">
6 10

  
7 11
  <a href="http://www.kivitendo.org"><img src="image/kivitendo.png" border="0"></a>
templates/webpages/admin/backup_dataset.html
1 1
[%- USE T8 %]
2 2
[%- USE HTML %]
3
<body class="admin" onload="set_subject(); document.getElementsByName('to')[0].focus(); ">
3
<body class="admin">
4 4

  
5 5
 <script type="text/javascript">
6 6
  <!--
7
      function set_subject() {
7
      $(function(){
8
        document.getElementsByName('to')[0].focus();
9
        set_subject();
10
      });
11

  
12
      function set_subject () {
8 13
        var subject_template = "[% 'Backup of dataset' | $T8 %]";
9 14
        var subject = document.Form.subject.value;
10 15

  
templates/webpages/admin/restore_dataset.html
1 1
[%- USE T8 %]
2 2
[%- USE HTML %]
3
<body class="admin" onload="document.getElementsByName('dbname')[0].focus(); ">
3
<body class="admin">
4

  
5
  <script type='text/javascript'>
6
    $(function(){ document.getElementsByName('dbname')[0].focus();});
7
  </script>
4 8

  
5 9
 <h2>[% title %]</h2>
6 10

  
templates/webpages/amcvar/display_cvar_config_form.html
1 1
[%- USE T8 %]
2 2
[%- USE HTML %]
3
<body onload="document.Form.name.focus();">
3
  <script type='text/javascript'>
4
    $(function(){document.Form.name.focus();});
5
  </script>
4 6

  
5 7
 <style type="text/css">
6 8
  .small {
templates/webpages/oe/save_periodic_invoices_config.html
1 1
[% USE HTML %]
2 2
[% USE L %]
3
<body onload="copy_values_and_close()">
4

  
5 3
 <script type="text/javascript">
6 4
  <!--
7
      function copy_values_and_close() {
5
      $(function() {
8 6
        window.opener.document.getElementsByName("periodic_invoices_config")[0].value = $("#periodic_invoices_config").attr('value');
9 7
        window.close();
10
      }
8
      })
11 9
    -->
12 10
 </script>
13 11

  

Auch abrufbar als: Unified diff