Ignore:
Timestamp:
2013/02/28 09:30:36 (13 years ago)
Author:
pineray
Message:

#2166 カテゴリーツリーのデータをツリー状に取得

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/html/user_data/packages/sphone/js/category.js

    r22091 r22586  
    9292                var linkObj = document.createElement("a"); 
    9393                linkObj.innerText = '+'; 
    94                 tgt.childNodes[0].className="category_header plus"; 
    95                 tgt.childNodes[0].appendChild(linkObj); 
     94                $(tgt).children('span.category_header') 
     95                        .addClass('plus') 
     96                        .append(linkObj); 
    9697                j++; 
    9798                linkObj.parentNode.setAttribute('onclick', 'listopen(' + lv + ',' + num + ')'); 
Note: See TracChangeset for help on using the changeset viewer.