mirror of
https://github.com/transmission/transmission
synced 2025-03-19 10:15:36 +00:00
(trunk web) ...and, also make sure that the three dialogs all use the same effects
This commit is contained in:
parent
2dbdeaec95
commit
d00ba19cae
2 changed files with 10 additions and 7 deletions
|
@ -184,8 +184,7 @@ function PrefsDialog(remote) {
|
|||
? getDefaultMobileOptions()
|
||||
: { width: 350, height: 400 };
|
||||
o.autoOpen = false;
|
||||
o.show = 'fade';
|
||||
o.hide = 'fade';
|
||||
o.show = o.hide = 'fade';
|
||||
o.close = onDialogClosed;
|
||||
e.tabbedDialog(o);
|
||||
|
||||
|
|
|
@ -657,7 +657,11 @@ Transmission.prototype =
|
|||
case 'about-button':
|
||||
o = 'Transmission ' + this.serverVersion;
|
||||
$('#about-dialog #about-title').html(o);
|
||||
$('#about-dialog').dialog({'title':'About'});
|
||||
$('#about-dialog').dialog({
|
||||
title: 'About',
|
||||
show: 'fade',
|
||||
hide: 'fade'
|
||||
});
|
||||
break;
|
||||
|
||||
case 'homepage':
|
||||
|
@ -1669,10 +1673,10 @@ Transmission.prototype =
|
|||
this.hideMobileAddressbar();
|
||||
this.togglePeriodicStatsRefresh(true);
|
||||
$('#stats-dialog').dialog({
|
||||
'close': $.proxy(this.onStatsDialogClosed,this),
|
||||
'show': 'fade',
|
||||
'hide': 'fade',
|
||||
'title': 'Statistics'
|
||||
close: $.proxy(this.onStatsDialogClosed,this),
|
||||
show: 'fade',
|
||||
hide: 'fade',
|
||||
title: 'Statistics'
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue