Ignore:
Timestamp:
2012/02/19 14:11:21 (12 years ago)
Author:
Seasoft
Message:

#1621 (バックアップの大規模店舗対応)

  • リストアの前にダイアログで確認
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/Smarty/templates/admin/system/bkup.tpl

    r21539 r21541  
    2323*}--> 
    2424 
     25<script> 
     26    function fnRestore(list_name) { 
     27        if (window.confirm('リストアしますか?')) { 
     28            document.body.style.cursor = 'wait'; 
     29            fnModeSubmit('restore', 'list_name', list_name); 
     30        } 
     31    } 
     32</script> 
    2533<form name="form1" id="form1" method="post" action="" onsubmit="return false;"> 
    2634<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
     
    7987                    <td ><!--{$arrBkupList[cnt].bkup_memo}--></td> 
    8088                    <td align="center"><!--{$arrBkupList[cnt].create_date|sfCutString:19:true:false}--></td> 
    81                     <td align="center"><a href="#" onclick="document.body.style.cursor = 'wait'; fnModeSubmit('restore','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">リストア</a></td> 
    82                     <td align="center"><a href="#" onclick="fnModeSubmit('download','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">ダウンロード</a></td> 
     89                    <td align="center"><a href="#" onclick="fnRestore('<!--{$arrBkupList[cnt].bkup_name}-->'); return false;">リストア</a></td> 
     90                    <td align="center"><a href="#" onclick="fnModeSubmit('download','list_name','<!--{$arrBkupList[cnt].bkup_name}-->'); return false;">ダウンロード</a></td> 
    8391                    <td align="center"> 
    84                         <a href="#" onclick="fnModeSubmit('delete','list_name','<!--{$arrBkupList[cnt].bkup_name}-->');">削除</a> 
     92                        <a href="#" onclick="fnModeSubmit('delete','list_name','<!--{$arrBkupList[cnt].bkup_name}-->'); return false;">削除</a> 
    8593                    </td> 
    8694                </tr> 
Note: See TracChangeset for help on using the changeset viewer.