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/favorite.tpl

    r23063 r23066  
    6363                                    <!--{$arrFavorite[cnt].price02_min_inctax|number_format}-->~<!--{$arrFavorite[cnt].price02_max_inctax|number_format}--> 
    6464                                    <!--{/if}-->円</span></p> 
    65                                 <p class="btn_delete"><img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" width="21" height="20" alt="削除" onclick="javascript:eccube.common.setModeAndSubmit('delete_favorite','product_id','<!--{$product_id|h}-->');" class="pointer" /></p> 
     65                                <p class="btn_delete"><img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" width="21" height="20" alt="削除" onclick="javascript:eccube.setModeAndSubmit('delete_favorite','product_id','<!--{$product_id|h}-->');" class="pointer" /></p> 
    6666                            </div> 
    6767                        </div><!--▲商品 --> 
     
    158158 
    159159                        //削除ボタンをセット 
    160                         $($(".favoriteBox p.btn_delete img").get(maxCnt)).attr("onclick", "javascript:eccube.common.setModeAndSubmit('delete_favorite','product_id','" + product.product_id + "');"); 
     160                        $($(".favoriteBox p.btn_delete img").get(maxCnt)).attr("onclick", "javascript:eccube.setModeAndSubmit('delete_favorite','product_id','" + product.product_id + "');"); 
    161161 
    162162                    } 
Note: See TracChangeset for help on using the changeset viewer.