Changeset 19360


Ignore:
Timestamp:
2010/11/07 01:55:30 (12 years ago)
Author:
kishik
Message:

商品一覧での色による変更中通知

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-C/data/Smarty/templates/admin/products/index.tpl

    r19359 r19360  
    236236            無制限 
    237237          <!--{else}--> 
    238             <input type="text" name="stock_edit_<!--{$arrProducts[cnt].product_id}-->" size="8" value="<!--{$arrProducts[cnt].stock_min}-->" onchange="jQuery.post('./index.php', {'mode':'stock_edit','stock_edit_id':'<!--{$arrProducts[cnt].product_id}-->','stock_edit_value':this.value}, function(result){if(result!='ok'){alert('エラー:変更できませんでした');};});"> 
    239           <!--{/if}--> 
     238            <input type="text" name="stock_edit_<!--{$arrProducts[cnt].product_id}-->" size="8" value="<!--{$arrProducts[cnt].stock_min}-->" onchange="this.style.background-color='blue';jQuery.post('./index.php', {'mode':'stock_edit','stock_edit_id':'<!--{$arrProducts[cnt].product_id}-->','stock_edit_value':this.value}, function(result){if(result!='ok'){alert('エラー:変更できませんでした');};});this.style.background-color='transparent';"> 
     239          <!--{/if}-->background-color: 
    240240        <!--{/if}--> 
    241241      </td> 
Note: See TracChangeset for help on using the changeset viewer.