Ignore:
Timestamp:
2009/06/10 13:12:33 (15 years ago)
Author:
Seasoft
Message:

操作手順により意図せず新しいウィンドウが開かれる問題を改修。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/admin/order/index.tpl

    r18057 r18094  
    5959        var WIN; 
    6060        WIN = window.open("about:blank", "pdf", "width=500,height=600,scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no"); 
     61         
     62        // 退避 
     63        tmpTarget = fm.target; 
     64        tmpMode = fm.mode.value; 
     65        tmpAction = fm.action; 
     66         
    6167        fm.target = "pdf"; 
    6268        fm.mode.value = 'pdf'; 
    6369        fm.action = action; 
    64         fm.submit();  
     70        fm.submit(); 
    6571        WIN.focus(); 
     72         
     73        // 復元 
     74        fm.target = tmpTarget; 
     75        fm.mode.value = tmpMode; 
     76        fm.action = tmpAction; 
    6677    } 
    6778     
Note: See TracChangeset for help on using the changeset viewer.