add an 'about' dialog to show the server's version number

This commit is contained in:
Jordan Lee
2011-09-15 05:16:39 +00:00
parent b396ed9f6b
commit 8f3ee91b49
3 changed files with 30 additions and 1 deletions

View File

@@ -654,6 +654,12 @@ Transmission.prototype =
this.showStatsDialog();
break;
case 'about-button':
o = 'Transmission ' + this.serverVersion;
$('#about-dialog #about-title').html(o);
$('#about-dialog').dialog();
break;
case 'homepage':
window.open('http://www.transmissionbt.com/');
break;
@@ -1666,7 +1672,7 @@ Transmission.prototype =
'close': $.proxy(this.onStatsDialogClosed,this),
'show': 'fade',
'hide': 'fade',
'title': 'Transmission ' + this.serverVersion
'title': 'Statistics'
});
},