Permalink
Browse files

1.1.1: show entry name in prompt menu

  • Loading branch information...
1 parent d5a7440 commit e1a35a8ff843f82b47bc4529c78265697362d986 @pfn committed Apr 8, 2011
Showing with 6 additions and 4 deletions.
  1. +3 −1 chrome/content/passifox.xul
  2. +1 −1 install.rdf
  3. BIN passifox.xpi
  4. +2 −2 update.rdf
@@ -55,6 +55,8 @@
function getFields(u,p) {
let form = u != null ? u.form : p.form;
let input = null;
+ // this suffers from the same bug as chromeipass did
+ // inputs that are not in a form will result in an error
if (form == null)
return [u,p];
for (let i = 0; i < form.elements.length; i++) {
@@ -106,7 +108,7 @@
// For some reason, can't open a menupopup from here
// use a select prompt instead
let selected = {};
- let items = logins.map(function(i) { return i.Login; });
+ let items = logins.map(function(i) i.Name + " - " + i.Login);
let r = Services.prompt.select(window,
"Select a login", "Pick a login to fill in",
logins.length, items, selected);
View
@@ -2,7 +2,7 @@
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>passifox@hanhuy.com</em:id>
- <em:version>1.1.0</em:version>
+ <em:version>1.1.1</em:version>
<em:type>2</em:type>
<!-- firefox -->
<em:targetApplication>
View
Binary file not shown.
View
@@ -6,14 +6,14 @@
<r:Seq>
<r:li>
<r:Description>
- <version>1.1.0</version>
+ <version>1.1.1</version>
<targetApplication>
<r:Description>
<id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</id>
<minVersion>4.0b1</minVersion>
<maxVersion>4.1</maxVersion>
<updateLink>https://passifox.appspot.com/passifox.xpi</updateLink>
- <updateHash>sha1:06c88aa4e3ae4f56830752c680b3415d8e611ef4</updateHash>
+ <updateHash>sha1:f67e9cbd2d779e67ba47551b2879e476dd5fa66a</updateHash>
</r:Description>
</targetApplication>
</r:Description>

0 comments on commit e1a35a8

Please sign in to comment.