mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 04:18:39 +00:00
(trunk web) ...and, also make sure that the three dialogs all use the same effects
This commit is contained in:
@@ -184,8 +184,7 @@ function PrefsDialog(remote) {
|
|||||||
? getDefaultMobileOptions()
|
? getDefaultMobileOptions()
|
||||||
: { width: 350, height: 400 };
|
: { width: 350, height: 400 };
|
||||||
o.autoOpen = false;
|
o.autoOpen = false;
|
||||||
o.show = 'fade';
|
o.show = o.hide = 'fade';
|
||||||
o.hide = 'fade';
|
|
||||||
o.close = onDialogClosed;
|
o.close = onDialogClosed;
|
||||||
e.tabbedDialog(o);
|
e.tabbedDialog(o);
|
||||||
|
|
||||||
|
|||||||
@@ -657,7 +657,11 @@ Transmission.prototype =
|
|||||||
case 'about-button':
|
case 'about-button':
|
||||||
o = 'Transmission ' + this.serverVersion;
|
o = 'Transmission ' + this.serverVersion;
|
||||||
$('#about-dialog #about-title').html(o);
|
$('#about-dialog #about-title').html(o);
|
||||||
$('#about-dialog').dialog({'title':'About'});
|
$('#about-dialog').dialog({
|
||||||
|
title: 'About',
|
||||||
|
show: 'fade',
|
||||||
|
hide: 'fade'
|
||||||
|
});
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'homepage':
|
case 'homepage':
|
||||||
@@ -1669,10 +1673,10 @@ Transmission.prototype =
|
|||||||
this.hideMobileAddressbar();
|
this.hideMobileAddressbar();
|
||||||
this.togglePeriodicStatsRefresh(true);
|
this.togglePeriodicStatsRefresh(true);
|
||||||
$('#stats-dialog').dialog({
|
$('#stats-dialog').dialog({
|
||||||
'close': $.proxy(this.onStatsDialogClosed,this),
|
close: $.proxy(this.onStatsDialogClosed,this),
|
||||||
'show': 'fade',
|
show: 'fade',
|
||||||
'hide': 'fade',
|
hide: 'fade',
|
||||||
'title': 'Statistics'
|
title: 'Statistics'
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user