diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2017-12-05 21:53:16 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2017-12-05 21:53:16 +0000 |
commit | 82f78770cb8c6058bf506db617ed95c21e3c7b0a (patch) | |
tree | b33b8a3d3eb8eac9fe6f8272f62e626ea4de0623 /script/feedback | |
parent | 362ab9579ed96c1ec9b24b9c0f4097081ba3516f (diff) | |
download | Post-SMTP-82f78770cb8c6058bf506db617ed95c21e3c7b0a.zip |
* Welcome on activation
* email log records per page
* email logs trash all
* remove gmail hosts for non gmail host
Diffstat (limited to 'script/feedback')
-rw-r--r-- | script/feedback/feedback.js | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/script/feedback/feedback.js b/script/feedback/feedback.js index a151f3b..da94efc 100644 --- a/script/feedback/feedback.js +++ b/script/feedback/feedback.js @@ -80,11 +80,20 @@ jQuery(document).ready(function($) { $( '.postman-reason-input' ).hide(); if ( $( this ).hasClass( 'postman-custom-input' ) ) { - $( '#postman-deactivate-reasons' ).next( '.postman-reason-input' ).show(); + var reason = $(this).find('input').data('reason'); + var wrap = $( '#postman-deactivate-reasons' ).next( '.postman-reason-input' ); + var input = wrap.find('input'); + console.log(input); + + if ( reason ) { + input.attr('placeholder',reason); + } else { + input.attr('placeholder','Do you mind help and give more detailes?'); + } + wrap.show(); } if ( $( this ).hasClass( 'postman-support-input' ) ) { - console.log($(this)); $( this ).find( '.postman-reason-input' ).show(); } }); |