Changeset 21856


Ignore:
Timestamp:
2012/05/28 15:44:44 (12 years ago)
Author:
sakamoto
Message:

ページ移動時にformからproduct_idを消すように変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/Smarty/templates/default/products/list.tpl

    r21708 r21856  
    5757        fnSubmit(); 
    5858    } 
     59     
     60    $(function() { 
     61    var selector = $("div.navi").find("a"); 
     62        selector.each(function(){ 
     63            var fn = $(this).attr("onclick"); 
     64            var addfn = "function(){fnSetVal('product_id', '');}" + fn; 
     65            //alert(addfn); 
     66            $(this).attr("onclick", addfn); 
     67        }); 
     68    }); 
    5969//]]></script> 
    6070 
Note: See TracChangeset for help on using the changeset viewer.