fs-feedback-creator
Advanced tools
Comparing version 1.0.35 to 1.0.36
@@ -152,3 +152,5 @@ export class FeedbackCreator { | ||
</div> | ||
<p id="textUnderTextarea"><b>Heads up! This is for feedback only and not<br> monitored by Support.</b><br>Need Support help? Contact us via our Help<br> Center.</p> | ||
{% if fb.this.wgAdditionalMsgActivation == true %} | ||
<p id="textUnderTextarea">${this.fb.wgAdditionalMsg}</p> | ||
{% endif %} | ||
<button id="commentSendButton" disabled>Send</button> | ||
@@ -250,3 +252,7 @@ </div> | ||
window.dispatchEvent(event); | ||
this.renderThanksModal(); | ||
if (this.fb.wgThanksMsgActivation == true) { | ||
this.renderThanksModal(); | ||
} | ||
else | ||
this.renderButton(); | ||
}); | ||
@@ -260,3 +266,7 @@ const sendButton = document.getElementById("emailSendButton"); | ||
window.dispatchEvent(event); | ||
this.renderThanksModal(); | ||
if (this.fb.wgThanksMsgActivation == true) { | ||
this.renderThanksModal(); | ||
} | ||
else | ||
this.renderButton(); | ||
}); | ||
@@ -270,3 +280,3 @@ } | ||
</div> | ||
<p id="thanksMessage">Thanks for your feedback!</p> | ||
<p id="thanksMessage">${this.fb.wgThanksMsg}</p> | ||
</div> | ||
@@ -467,11 +477,11 @@ `; | ||
this.language_map.set("fr", "Rétroaction"); | ||
this.style_map.set(0, "right: 0px; top:43%; border-top-left-radius: 3px; border-bottom-left-radius: 3px;"); | ||
this.style_map.set(1, "left: 0px; top:43%; border-top-right-radius: 3px; border-bottom-right-radius: 3px;"); | ||
this.style_map.set(2, "right: 0px; top:43%; border-top-left-radius: 3px; border-bottom-left-radius: 3px;"); | ||
this.style_map.set(3, "left: 0px; top:43%; border-top-right-radius: 3px; border-bottom-right-radius: 3px;"); | ||
this.modalViews.set(0, "right: 32px; top: 37%; position: fixed;"); | ||
this.modalViews.set(1, "left: 32px; top: 37%; position: fixed;"); | ||
this.modalViews.set(2, "right: 32px; top: 60%; position: fixed;"); | ||
this.modalViews.set(3, "left: 32px; top: 60%; position: fixed;"); | ||
this.style_map.set("0", "right: 0px; top:43%; border-top-left-radius: 3px; border-bottom-left-radius: 3px;"); | ||
this.style_map.set("1", "left: 0px; top:43%; border-top-right-radius: 3px; border-bottom-right-radius: 3px;"); | ||
this.style_map.set("2", "right: 0px; top:43%; border-top-left-radius: 3px; border-bottom-left-radius: 3px;"); | ||
this.style_map.set("3", "left: 0px; top:43%; border-top-right-radius: 3px; border-bottom-right-radius: 3px;"); | ||
this.modalViews.set("0", "right: 32px; top: 37%; position: fixed;"); | ||
this.modalViews.set("1", "left: 32px; top: 37%; position: fixed;"); | ||
this.modalViews.set("2", "right: 32px; top: 60%; position: fixed;"); | ||
this.modalViews.set("3", "left: 32px; top: 60%; position: fixed;"); | ||
} | ||
} |
{ | ||
"name": "fs-feedback-creator", | ||
"version": "1.0.35", | ||
"version": "1.0.36", | ||
"description": "web-based module that's responsible to inject fullsession feedback modal", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
35453
591