diff options
author | mtomasz <mtomasz@chromium.org> | 2015-07-14 00:35:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-14 07:35:57 +0000 |
commit | d0412f4064413cb3a2429a40c591e130aa465e2d (patch) | |
tree | 262c98d88255753f75d54ba41a563c021f252bfe /ui | |
parent | 24e059983824b17c8be9dfcff460bf2880dfcad5 (diff) | |
download | chromium_src-d0412f4064413cb3a2429a40c591e130aa465e2d.zip chromium_src-d0412f4064413cb3a2429a40c591e130aa465e2d.tar.gz chromium_src-d0412f4064413cb3a2429a40c591e130aa465e2d.tar.bz2 |
Update pinDriveFile to accept entries instead of urls.
NOPRESUBMIT=true
TBR=isherman@chromium.org
TEST=Tested manually by pinning a file and confirming it stays pinned.
BUG=507210
Review URL: https://codereview.chromium.org/1226633011
Cr-Commit-Position: refs/heads/master@{#338653}
Diffstat (limited to 'ui')
-rw-r--r-- | ui/file_manager/file_manager/foreground/js/file_manager_commands.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/file_manager/file_manager/foreground/js/file_manager_commands.js b/ui/file_manager/file_manager/foreground/js/file_manager_commands.js index 9e24fa7..3d99359 100644 --- a/ui/file_manager/file_manager/foreground/js/file_manager_commands.js +++ b/ui/file_manager/file_manager/foreground/js/file_manager_commands.js @@ -962,7 +962,7 @@ CommandHandler.COMMANDS_['toggle-pinned'] = /** @type {Command} */ ({ return; currentEntry = entries.shift(); chrome.fileManagerPrivate.pinDriveFile( - currentEntry.toURL(), + currentEntry, pin, steps.entryPinned); }, |