Changeset 11041 for temp/branches


Ignore:
Timestamp:
2006/12/21 10:54:23 (19 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/ec-cube-beta/data/Smarty/templates/campaign/index.tpl

    r11040 r11041  
    77    var change_tag = document.getElementsByTagName("div"); 
    88    var ids = ""; 
     9    var count = 0; 
    910 
    1011    for (var i = 0; i < change_tag.length; i++) { 
    1112        str = change_tag.item(i).id; 
    1213        if (str.match('cart_tag_*')) { 
    13             if (!str.match('-')) ids += '-'; 
    1414            ids += change_tag.item(i).id; 
     15            if (count > 0) ids += '-'; 
     16            count ++; 
    1517        } 
    1618    } 
Note: See TracChangeset for help on using the changeset viewer.