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 18281914f6140d57db882a85d06e0dd9fb7c6645..4ac1c4541803f8979e2bbb1218567f1d54398488 100644 |
--- a/chrome/browser/resources/file_manager/js/file_manager.js |
+++ b/chrome/browser/resources/file_manager/js/file_manager.js |
@@ -608,7 +608,10 @@ DialogType.isModal = function(type) { |
Commands.pasteFileCommand, doc, this.fileTransferController_); |
CommandUtil.registerCommand(doc, 'open-with', |
- Commands.openWithCommand, this); |
+ Commands.openWithCommand, this); |
+ |
+ CommandUtil.registerCommand(doc, 'zip-selection', |
+ Commands.zipSelectionCommand, this); |
CommandUtil.registerCommand(doc, 'cut', Commands.defaultCommand, doc); |
CommandUtil.registerCommand(doc, 'copy', Commands.defaultCommand, doc); |
@@ -760,7 +763,7 @@ DialogType.isModal = function(type) { |
this.dialogDom_.querySelector('#default-action'); |
this.openWithCommand_ = |
- this.dialogDom_.querySelector('#open-with'); |
+ this.dialogDom_.querySelector('#open-with'); |
this.defaultActionMenuItem_.addEventListener('activate', |
this.dispatchSelectionAction_.bind(this)); |