Skip to content

Commit

Permalink
fix "forget credentials" IMAP form results
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmunro committed Apr 8, 2017
1 parent 2ced896 commit 53a9b30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/imap/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ var imap_forget_action = function(event) {
function(res) {
if (res.just_forgot_credentials) {
form.find('.credentials').prop('disabled', false);
form.find('.imap_password').val('');
form.find('.imap_password').prop('placeholder', 'Password');
form.find('.credentials').val('');
form.find('.credentials').attr('placeholder', '');
form.append('<input type="submit" value="Save" class="save_imap_connection" />');
$('.save_imap_connection').on('click', imap_save_action);
$('.forget_imap_connection', form).hide();
Expand Down

0 comments on commit 53a9b30

Please sign in to comment.