removed comment that was there for testing purposes

This commit is contained in:
Emil Siverhall 2012-02-21 13:30:24 +01:00
parent d5a42b7972
commit 19e439295b

@ -316,8 +316,7 @@ public class AdminMailPanel extends Panel {
add(disabledLabel);
Button submitButton = new Button("submitButton");
//TODO Remove comments.
//submitButton.setEnabled(gsettings.isMailNotifications()); <-- Commented out for testing purposes.
submitButton.setEnabled(gsettings.isMailNotifications());
submitButton.add(new SimpleAttributeModifier(
"onclick",
"if (!confirm('Are you sure you want to send this e-mail to the selected recipients?')){ return false; }"));