(web) remove the freespace-info label from the web client.

As discussed at https://trac.transmissionbt.com/ticket/4076#comment:25
the freespace indicator is being moved out of the statusbar to another
place.
This commit is contained in:
Jordan Lee
2013-02-10 18:32:15 +00:00
parent dbb742f667
commit f70c4d88c7
5 changed files with 2 additions and 22 deletions

View File

@@ -1080,7 +1080,6 @@ Transmission.prototype =
menu = $('#settings_menu');
this.serverVersion = o.version;
this.freeSpace = o[RPC._DownloadDirFreeSpace];
this.prefsDialog.set(o);
@@ -1130,7 +1129,7 @@ Transmission.prototype =
updateStatusbar: function()
{
var u=0, d=0,
i, row, text,
i, row,
fmt = Transmission.fmt,
torrents = this.getAllTorrents();
@@ -1146,12 +1145,6 @@ Transmission.prototype =
$('#speed-dn-container').toggleClass('active', d>0 );
$('#speed-dn-label').text( fmt.speedBps( d ) );
if (this.freeSpace > 0)
text = fmt.size (this.freeSpace) + " Free";
else
text = '';
$('#freespace-info').text( text );
// visible torrents
$('#filter-count').text( fmt.countString('Transfer','Transfers',this._rows.length ) );
},