Ignore:
Timestamp:
2013/09/11 12:03:53 (11 years ago)
Author:
m_uehara
Message:

#2376 エラーチェック処理修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13_0/data/Smarty/templates/admin/contents/recommend.tpl

    r23140 r23213  
    2828function lfnCheckSubmit( fm ){ 
    2929    var err = ''; 
    30     /* 
    31     if ( ! fm["title"].value ){ 
    32         err += '見出しコメントを入力して下さい。'; 
     30 
     31    if ( ! fm["product_id"].value ){ 
     32        err += '商品を選択して下さい。'; 
    3333    } 
    34     */ 
    35     if ( ! fm["comment"].value ){ 
     34 
     35    if ( fm["comment"] && !fm["comment"].value ){ 
    3636        if ( err ) err += ''; 
    3737        err += 'コメントを入力して下さい。'; 
    3838    } 
     39 
    3940    if ( err ){ 
    4041        alert(err); 
Note: See TracChangeset for help on using the changeset viewer.