Changeset 18128


Ignore:
Timestamp:
2009/06/19 15:31:22 (15 years ago)
Author:
kajiwara
Message:

#483 受注管理で帳票(pdf)を出力した直後に[編集]のクリックで新しいウィンドウに編集画面が表示される

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4/data/Smarty/templates/default/admin/order/index.tpl

    r18115 r18128  
    5858        var WIN; 
    5959        WIN = window.open("about:blank", "pdf", "width=500,height=600,scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no"); 
     60 
     61        // 退避 
     62        tmpTarget = document.form1.target; 
     63        tmpMode = document.form1.mode.value; 
     64        tmpAction = document.form1.action; 
     65 
    6066        document.form1.target = "pdf"; 
    6167        document.form1.mode.value = 'pdf'; 
     
    6369        document.form1.submit(); 
    6470        WIN.focus(); 
     71 
     72        // 復元 
     73        document.form1.target = tmpTarget; 
     74        document.form1.mode.value = tmpMode; 
     75        document.form1.action = tmpAction; 
    6576    } 
    6677 
Note: See TracChangeset for help on using the changeset viewer.