mirror of
https://github.com/correl/mage.git
synced 2025-04-11 09:11:12 -09:00
Fixed bug with the email value not sent to server ;((
This commit is contained in:
parent
b52a0f1c2c
commit
ca0fcbad58
1 changed files with 4 additions and 1 deletions
|
@ -249,7 +249,10 @@ public class FeedbackDialog extends javax.swing.JDialog {
|
|||
if (message.length() > 300) {
|
||||
JOptionPane.showMessageDialog(null, "\"Describe your idea\" value is too long (300 characters max)", "Warning", JOptionPane.INFORMATION_MESSAGE);
|
||||
}
|
||||
String email = cleanUpType(cbFeedbackType.getSelectedItem().toString());
|
||||
String email = txtEmail.getText().trim();
|
||||
if (email.length() > 100) {
|
||||
email = email.substring(0, 100);
|
||||
}
|
||||
if (MageFrame.getSession().sendFeedback(title, type, message, email)) {
|
||||
JOptionPane.showMessageDialog(null, "Feedback was sent. Thank you!", "Success", JOptionPane.INFORMATION_MESSAGE);
|
||||
reset();
|
||||
|
|
Loading…
Add table
Reference in a new issue