From 895f8ca465398395c1d04232cdb1479eba1c54e1 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Tue, 30 Aug 2011 01:54:34 +0000 Subject: [PATCH] (trunk web) #4459 "Remove 'Compact View' from the action menu" -- done. --- web/index.html | 2 -- web/javascript/transmission.js | 13 ------------- 2 files changed, 15 deletions(-) diff --git a/web/index.html b/web/index.html index f30cf84fc..c1a681c48 100755 --- a/web/index.html +++ b/web/index.html @@ -534,8 +534,6 @@
  • Reverse Sort Order
  • -
  • -
  • Compact View
  • diff --git a/web/javascript/transmission.js b/web/javascript/transmission.js index 8c23be3f9..3b686e3d9 100644 --- a/web/javascript/transmission.js +++ b/web/javascript/transmission.js @@ -933,9 +933,6 @@ Transmission.prototype = $('div#stats_container h2.dialog_heading').show(); tr.showStatsDialog(); } - else if ($element[0].id == 'compact_view') { - this.toggleCompactClicked(); - } else if ($element[0].id == 'homepage') { window.open('http://www.transmissionbt.com/'); } @@ -2247,16 +2244,6 @@ Transmission.prototype = { var compact = this[Prefs._CompactDisplayState]; - // update the ui: context menu - // (disabled in iphone mode...) - if (!isMobileDevice) { - var e = $('#settings_menu #compact_view'); - if (compact) - e.selectMenuItem(); - else - e.deselectMenuItem(); - } - // update the ui: footer button $("#compact-button").toggleClass('enabled',compact); -- 2.40.0