Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2545)

Unified Diff: chrome/browser/resources/file_manager/js/file_transfer_controller.js

Issue 17356006: Files.app: Stop using DragSelector on the grid view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/js/file_transfer_controller.js
diff --git a/chrome/browser/resources/file_manager/js/file_transfer_controller.js b/chrome/browser/resources/file_manager/js/file_transfer_controller.js
index ffd24051d6b8244bc4573e393098a671e85dea02..417adaad7b15521edb0fa1f5fd58a5c0d58a9d73 100644
--- a/chrome/browser/resources/file_manager/js/file_transfer_controller.js
+++ b/chrome/browser/resources/file_manager/js/file_transfer_controller.js
@@ -290,7 +290,7 @@ FileTransferController.prototype = {
onDragStart_: function(list, event) {
// Check if a drag selection should be initiated or not.
// TODO(hirono): Support drag selection on the grid view. crbug.com/247278
- if (list.id == 'file-list') {
+ if (list.id == 'file-list' && list.parentNode.id == 'detail-table') {
mtomasz 2013/06/21 06:20:58 This is quite ugly, since the dom structure can ch
if (list.parentNode.shouldStartDragSelection(event)) {
this.dragSelector_.startDragSelection(list, event);
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698