Skip to content
This repository was archived by the owner on Dec 18, 2019. It is now read-only.

Comments

Shared password bug-fix#6

Open
claudiouzelac wants to merge 2 commits intoklingenm:masterfrom
claudiouzelac:patch-1
Open

Shared password bug-fix#6
claudiouzelac wants to merge 2 commits intoklingenm:masterfrom
claudiouzelac:patch-1

Conversation

@claudiouzelac
Copy link

@claudiouzelac claudiouzelac commented Apr 4, 2016

Shared passwords in PasswordBox don't expose the memo field. This patch seeks to provide support for that case.


This change is Reviewable

@klingenm
Copy link
Owner

Wouldn't it be better to just filter out that column and not exclude the row all together? The other data could still be exported even if one column has no data.

console.log( i + "\t"+addSpaces(30,title_fill.value) + addSpaces(30,username_fill.value) + password_fill.value); // print item to see progress
result.push( [ url_fill.value, title_fill.value, username_fill.value, "" , password_fill.value,"" , memo_fill.value ]); // add values to results array to be converted into csv file. Empty values should be empty strings, don't use null or leave blank
if(typeof memo_fill != 'undefined') {
result.push( [ url_fill.value, title_fill.value, username_fill.value, "" , password_fill.value,"" , memo_fill.value ]); // add values to results array to be converted into csv file. Empty values should be empty strings, don't use null or leave blank
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

result.push( [ url_fill.value, title_fill.value, username_fill.value, "" , password_fill.value,"" , memo_fill ? memo_fill.value : '' ]);

something like this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, a better implementation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants