diff --git a/src/scripts/controllers/task-detail.js b/src/scripts/controllers/task-detail.js index fcd7fb7..ae40a4e 100644 --- a/src/scripts/controllers/task-detail.js +++ b/src/scripts/controllers/task-detail.js @@ -481,12 +481,14 @@ } }); - angular.element('#overview-items .row').contextmenu({ - target: '#task-overview-contextmenu', - before: function (e, context) { - currentRowTriggeredMenu = context; - } - }); + $scope.onOverviewMouseDown = function () { + angular.element('#overview-items .row[contextmenu-bind!="true"]').contextmenu({ + target: '#task-overview-contextmenu', + before: function (e, context) { + currentRowTriggeredMenu = context; + } + }).attr('contextmenu-bind', 'true'); + }; angular.element('#task-overview-contextmenu').on('hide.bs.context', function () { currentRowTriggeredMenu = null; diff --git a/src/views/task-detail.html b/src/views/task-detail.html index f0299cf..283c7ed 100644 --- a/src/views/task-detail.html +++ b/src/views/task-detail.html @@ -22,8 +22,8 @@
-
-
+
+
Task Name
@@ -32,7 +32,7 @@ ng-tooltip="{{(task.bittorrent && task.bittorrent.comment) ? task.bittorrent.comment : task.taskName}}">
-
+
Task Size
@@ -43,7 +43,7 @@
-
+
Task Status
@@ -53,7 +53,7 @@ ng-tooltip="{{task.errorMessage}}" ng-tooltip-container="body" ng-tooltip-placement="top">
-
+
Error Description
@@ -61,7 +61,7 @@
-
+
@@ -69,7 +69,7 @@
-
+
Download
@@ -77,7 +77,7 @@
-
+
Upload
@@ -85,7 +85,7 @@
-
+
Share Ratio
@@ -93,7 +93,7 @@
-
+
Remain Time
@@ -101,7 +101,7 @@
-
+
Connections
@@ -109,7 +109,7 @@
-
+
Seed Creation Time
@@ -117,7 +117,7 @@
-
+
Info Hash
@@ -125,7 +125,7 @@
-
+
Download Url
@@ -133,7 +133,7 @@
-
+
Download Dir
@@ -141,7 +141,7 @@
-
+
BT Tracker Servers