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

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

Issue 17287004: Made the visibility of Buttom bar updated at the end of drag selection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get to use cr.dispatchSimpleEvent. 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 | « chrome/browser/resources/file_manager/js/drag_selector.js ('k') | 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_manager.js
diff --git a/chrome/browser/resources/file_manager/js/file_manager.js b/chrome/browser/resources/file_manager/js/file_manager.js
index fb53dd0d45ff235e852ecf44ada4819602b64fdb..ee405b0976f064906eb6b358c64a2c418965bab6 100644
--- a/chrome/browser/resources/file_manager/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_manager.js
@@ -1163,6 +1163,9 @@ var BOTTOM_MARGIN_FOR_PREVIEW_PANEL_PX = 52;
var dragEndBound = this.onDragEnd_.bind(this);
this.table_.list.addEventListener('dragend', dragEndBound);
this.grid_.addEventListener('dragend', dragEndBound);
+ // This event is published by DragSelector because drag end event is not
+ // published at the end of drag selection.
+ this.table_.list.addEventListener('dragselectionend', dragEndBound);
// TODO(mtomasz, yoshiki): Create sidebar earlier, and here just attach
// the directory model.
« no previous file with comments | « chrome/browser/resources/file_manager/js/drag_selector.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698