(trunk web) the preferences dialog is now activated from a toolbar button.

This is in preparation for merging about 80% of the scss code between the default and mobile versions of Clutch. Previously the mobile client had the prefs button in the footer and the default client had it in the popup menu. Now both have it in the toolbar instead.
This commit is contained in:
Jordan Lee
2011-10-26 23:19:38 +00:00
parent 7f8d802405
commit d67fc13da4
8 changed files with 35 additions and 19 deletions

View File

@@ -298,6 +298,12 @@ function PrefsDialog(remote) {
data.elements.root.dialog('open');
};
this.close = function ()
{
transmission.hideMobileAddressbar();
data.elements.root.dialog('close');
},
this.shouldAddedTorrentsStart = function()
{
return data.elements.root.find('#start-added-torrents')[0].checked;