Changeset 309


Ignore:
Timestamp:
09/07/05 06:17:28 (9 years ago)
Author:
gocher
Message:

Ticket #477
Edit Tag plugin JavaScript? error fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/EditTag/popups/edit_tag.html

    r239 r309  
    77<script language="javascript"> 
    88 
    9 function _CloseOnEsc(event) { 
    10   if ( event.keyCode == 27 ) { 
    11     window.close(); 
    12     return; 
    13   } 
    14 } 
    15  
    169function Init() { 
    1710  __dlg_translate("EditTag"); 
    1811  __dlg_init(); 
    1912  window.resizeTo(600, 450); 
    20   document.body.onkeypress = _CloseOnEsc; 
    2113  var param = window.dialogArguments; 
    2214  document.getElementById("TAG").value = param["content"]; 
     15  document.getElementById("TAG").focus(); 
    2316} 
    2417 
Note: See TracChangeset for help on using the changeset viewer.