Ignore:
Timestamp:
2013/08/15 08:46:23 (7 years ago)
Author:
pineray
Message:

#2342 JavaScript?のグローバルな宣言を減らす
商品関連.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/products/LC_Page_Products_List.php

    r23064 r23065  
    539539        $this->productStatus = $this->arrProducts['productStatus']; 
    540540        unset($this->arrProducts['productStatus']); 
    541         $this->tpl_javascript .= 'var productsClassCategories = ' . SC_Utils_Ex::jsonEncode($objProduct->classCategories) . ';'; 
     541        $this->tpl_javascript .= 'eccube.productsClassCategories = ' . SC_Utils_Ex::jsonEncode($objProduct->classCategories) . ';'; 
    542542        if (SC_Display_Ex::detectDevice() === DEVICE_TYPE_PC) { 
    543543            //onloadスクリプトを設定. 在庫ありの商品のみ出力する 
Note: See TracChangeset for help on using the changeset viewer.