(trunk web) don't show internal files

This commit is contained in:
Kevin Glowacz 2009-06-30 03:37:34 +00:00
parent 6299826309
commit c7d3eabf40
4 changed files with 1 additions and 11 deletions

View File

@ -116,10 +116,6 @@
<div class="inspector_label">Download Dir:</div>
<div id="torrent_inspector_download_dir">N/A</div>
</div>
<div class="inspector_row">
<div class="inspector_label">Torrent File:</div>
<div id="torrent_inspector_torrent_file">N/A</div>
</div>
</div><!-- class="inspector_group"-->
</div><!-- id="inspector_tab_info_container" -->

View File

@ -309,7 +309,6 @@ Torrent.prototype =
this._total_seeders = Math.max( 0, data.seeders );
this._state = data.status;
this._download_dir = data.downloadDir;
this._torrent_file = data.torrentFile;
if (data.fileStats)
this.refreshFileModel( data );

View File

@ -87,7 +87,6 @@ Transmission.prototype =
this._inspector._info_tab.creator_date = $(ti+'creator_date')[0];
this._inspector._info_tab.creator = $(ti+'creator')[0];
this._inspector._info_tab.download_dir = $(ti+'download_dir')[0];
this._inspector._info_tab.torrent_file = $(ti+'torrent_file')[0];
this._inspector._info_tab.downloaded = $(ti+'downloaded')[0];
this._inspector._info_tab.download_from = $(ti+'download_from')[0];
this._inspector._info_tab.download_speed = $(ti+'download_speed')[0];
@ -921,7 +920,6 @@ Transmission.prototype =
var creator = 'N/A';
var comment = 'N/A';
var download_dir = 'N/A';
var torrent_file = 'N/A';
var date_created = 'N/A';
var error = '';
var hash = 'N/A';
@ -994,8 +992,6 @@ Transmission.prototype =
creator = t._creator ;
if( t._download_dir)
download_dir = t._download_dir;
if( t._torrent_file )
torrent_file = t._torrent_file;
hash = t.hash();
date_created = Math.formatTimestamp( t._creator_date );
@ -1058,7 +1054,6 @@ Transmission.prototype =
setInnerHTML( tab.comment, comment.replace(/\//g, '/&#8203;') );
setInnerHTML( tab.creator, creator );
setInnerHTML( tab.download_dir, download_dir.replace(/([\/_\.])/g, "$1&#8203;") );
setInnerHTML( tab.torrent_file, torrent_file.replace(/([\/_\.])/g, "$1&#8203;") );
setInnerHTML( tab.error, error );
$(".inspector_row > div:contains('N/A')").css('color', '#666');

View File

@ -108,7 +108,7 @@ TransmissionRemote.prototype =
'peersConnected', 'peersGettingFromUs', 'peersSendingToUs',
'rateDownload', 'rateUpload', 'seeders', 'sizeWhenDone',
'status', 'swarmSpeed', 'totalSize', 'uploadedEver',
'downloadDir', 'torrentFile', 'files', 'fileStats' ]
'downloadDir', 'files', 'fileStats' ]
}
};