Changeset 9940


Ignore:
Timestamp:
Jan 15, 2010, 5:17:55 AM (12 years ago)
Author:
kjg
Message:

(trunk web) only help with line brakes if these aren't N/A

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/transmission.js

    r9939 r9940  
    11551155                setInnerHTML( tab.creator_date, date_created );
    11561156                setInnerHTML( tab.progress, torrents.length ? Math.ratio( sizeDone*100, sizeWhenDone ) + '%' : na );
    1157                 setInnerHTML( tab.comment, comment.replace(/\//g, '/​') );
     1157                setInnerHTML( tab.comment, comment == na ? comment : comment.replace(/\//g, '/​') );
    11581158                setInnerHTML( tab.creator, creator );
    1159                 setInnerHTML( tab.download_dir, download_dir.replace(/([\/_\.])/g, "$1​") );
     1159                setInnerHTML( tab.download_dir, download_dir == na ? download_dir : download_dir.replace(/([\/_\.])/g, "$1​") );
    11601160                setInnerHTML( tab.error, error );
    11611161               
Note: See TracChangeset for help on using the changeset viewer.