Ignore:
Timestamp:
2013/08/15 08:54:40 (9 years ago)
Author:
pineray
Message:

#2342 JavaScript?のグローバルな宣言を減らす
eccubeオブジェクト内の階層を減らす.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/Smarty/templates/sphone/mypage/delivery.tpl

    r23063 r23066  
    6464 
    6565                            <ul class="edit"> 
    66                                 <li><a href="#" onClick="eccube.common.win02('./delivery_addr.php?other_deliv_id=<!--{$arrOtherDeliv[cnt].other_deliv_id}-->','deliv_disp','600','640'); return false;" class="b_edit deliv_edit" rel="external">編集</a></li> 
    67                                 <li><a href="#" onClick="eccube.common.setModeAndSubmit('delete','other_deliv_id','<!--{$arrOtherDeliv[cnt].other_deliv_id}-->'); return false;" class="deliv_delete" rel="external"><img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" class="pointer" width="21" height="20" alt="削除" /></a></li> 
     66                                <li><a href="#" onClick="eccube.win02('./delivery_addr.php?other_deliv_id=<!--{$arrOtherDeliv[cnt].other_deliv_id}-->','deliv_disp','600','640'); return false;" class="b_edit deliv_edit" rel="external">編集</a></li> 
     67                                <li><a href="#" onClick="eccube.setModeAndSubmit('delete','other_deliv_id','<!--{$arrOtherDeliv[cnt].other_deliv_id}-->'); return false;" class="deliv_delete" rel="external"><img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" class="pointer" width="21" height="20" alt="削除" /></a></li> 
    6868                            </ul> 
    6969                        </div> 
     
    135135                        $($(".delivBox span.name02").get(maxCnt)).text(delivery.name02); 
    136136                        //編集ボタンをセット 
    137                         $($(".delivBox a.deliv_edit").get(maxCnt)).attr("onClick", "eccube.common.win02('./delivery_addr.php?other_deliv_id=" + delivery.other_deliv_id + "','deliv_disp','600','640'); return false;"); 
     137                        $($(".delivBox a.deliv_edit").get(maxCnt)).attr("onClick", "eccube.win02('./delivery_addr.php?other_deliv_id=" + delivery.other_deliv_id + "','deliv_disp','600','640'); return false;"); 
    138138                        //削除ボタンをセット 
    139                         $($(".delivBox a.deliv_delete").get(maxCnt)).attr("onClick", "eccube.common.setModeAndSubmit('delete','other_deliv_id','" + delivery.other_deliv_id + "'); return false;"); 
     139                        $($(".delivBox a.deliv_delete").get(maxCnt)).attr("onClick", "eccube.setModeAndSubmit('delete','other_deliv_id','" + delivery.other_deliv_id + "'); return false;"); 
    140140                        count++; 
    141141                    } 
Note: See TracChangeset for help on using the changeset viewer.