From 4cb1c76c5a2d4bfa2aa0017c902419d6e9ddd6a9 Mon Sep 17 00:00:00 2001 From: bergware Date: Sat, 3 Feb 2024 18:48:36 +0100 Subject: [PATCH] Feedback form: enable/disable SUBMIT button automatically --- emhttp/plugins/dynamix/scripts/feedback | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/emhttp/plugins/dynamix/scripts/feedback b/emhttp/plugins/dynamix/scripts/feedback index d1a484303..b4d031dcb 100755 --- a/emhttp/plugins/dynamix/scripts/feedback +++ b/emhttp/plugins/dynamix/scripts/feedback @@ -37,7 +37,6 @@ div.divide{text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-w div.allpanels{display:none;position:absolute;left:0;right:0;top:40px;bottom:0;overflow:auto} div#footer_panel{position:absolute;left:0;right:0;bottom:0;text-align:right} textarea.feedback{width:;height:530px;margin:0;resize:none} -textarea#troubleshoot_details{display:none} @media(max-width:960px){textarea.feedback{height:330px}} @media(max-height:768px){textarea.feedback{height:330px}} input#email{float:left;padding-left:8px} @@ -70,7 +69,6 @@ span.spacer{margin:0 4px}
-

: .

@@ -254,7 +252,7 @@ $(function() { break; case 'troubleshoot': // @todo - update this to use a new troubleshoot endpoint - form_submit('https://keys.lime-technology.com/feedback/bugreport',{description:$('#troubleshoot').val()+'\n\n'+$('#troubleshoot_details').val(), email:$('input#email').val()}, $('#troubleshoot_panel'), 1); + form_submit('https://keys.lime-technology.com/feedback/bugreport',{description:$('#troubleshoot').val(), email:$('input#email').val()}, $('#troubleshoot_panel'), 1); break; case 'otherComment': form_submit('https://keys.lime-technology.com/feedback/comment',{description:$('#otherComment').val(), email:$('input#email').val()}, $('#otherComment_panel'));