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

Unified Diff: chrome/browser/resources/options/pack_extension_overlay.js

Issue 8748021: Fix file-select dialog handling for private key (pem) files. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years 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/options/pack_extension_overlay.js
===================================================================
--- chrome/browser/resources/options/pack_extension_overlay.js (revision 112957)
+++ chrome/browser/resources/options/pack_extension_overlay.js (working copy)
@@ -77,7 +77,7 @@
* @private
*/
handleBrowsePrivateKey_: function(e) {
- this.showFileDialog_('file', 'load', function(filePath) {
+ this.showFileDialog_('file', 'pem', function(filePath) {
$('extensionPrivateKey').value = filePath;
});
},
« 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