From ab345f7f35bda844471eaaef0806de63845d7009 Mon Sep 17 00:00:00 2001 From: awnuk Date: Wed, 25 Feb 2009 21:07:33 +0000 Subject: Fixed bugzilla bug 487403. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@248 c9f7a03b-bd48-0410-a16d-cbbf54688b0b --- .../netscape/admin/certsrv/notification/RequestCompletePanel.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pki/base/console') diff --git a/pki/base/console/src/com/netscape/admin/certsrv/notification/RequestCompletePanel.java b/pki/base/console/src/com/netscape/admin/certsrv/notification/RequestCompletePanel.java index ecc6b212b..9b30acd61 100644 --- a/pki/base/console/src/com/netscape/admin/certsrv/notification/RequestCompletePanel.java +++ b/pki/base/console/src/com/netscape/admin/certsrv/notification/RequestCompletePanel.java @@ -240,8 +240,9 @@ public class RequestCompletePanel extends CMSBaseTab implements ItemListener { String emailSubject = mEmailSubjectText.getText().trim(); String senderEmail = mSenderEmailText.getText().trim(); - if (emailForm.equals("") || senderEmail.equals("") || - emailSubject.equals("")) { + if (mEnable.isSelected() && (emailForm.equals("") || + senderEmail.equals("") || + emailSubject.equals(""))) { showMessageDialog("BLANKFIELD"); return false; } -- cgit