Index: chrome/browser/resources/file_manager/js/action_choice.js |
=================================================================== |
--- chrome/browser/resources/file_manager/js/action_choice.js (revision 173427) |
+++ chrome/browser/resources/file_manager/js/action_choice.js (working copy) |
@@ -43,14 +43,14 @@ |
ActionChoice.load = function(opt_filesystem, opt_params) { |
ImageUtil.metrics = metrics; |
- var hash = location.hash ? location.hash.substr(1) : ''; |
+ var hash = location.hash ? decodeURI(location.hash.substr(1)) : ''; |
var params = opt_params || {}; |
if (!params.source) params.source = hash; |
if (!params.metadataCache) params.metadataCache = MetadataCache.createFull(); |
function onFilesystem(filesystem) { |
var dom = document.querySelector('.action-choice'); |
- new ActionChoice(dom, filesystem, params); |
+ ActionChoice.instance = new ActionChoice(dom, filesystem, params); |
Vladislav Kaznacheev
2012/12/17 09:21:49
Why in this patch?
dgozman
2012/12/17 10:08:28
Well, creating a separate patch seems like an over
|
} |
chrome.fileBrowserPrivate.getStrings(function(strings) { |