[Jrisk-cvs] SF.net SVN: jrisk-code:[1065] Grasshopper/src_swing/net/yura/grasshopper/ PopupBug.java
Brought to you by:
yuranet
|
From: <yu...@us...> - 2025-01-22 21:15:57
|
Revision: 1065
http://sourceforge.net/p/jrisk/code/1065
Author: yuranet
Date: 2025-01-22 21:15:55 +0000 (Wed, 22 Jan 2025)
Log Message:
-----------
do not submit if popup still open
Modified Paths:
--------------
Grasshopper/src_swing/net/yura/grasshopper/PopupBug.java
Modified: Grasshopper/src_swing/net/yura/grasshopper/PopupBug.java
===================================================================
--- Grasshopper/src_swing/net/yura/grasshopper/PopupBug.java 2025-01-11 20:28:10 UTC (rev 1064)
+++ Grasshopper/src_swing/net/yura/grasshopper/PopupBug.java 2025-01-22 21:15:55 UTC (rev 1065)
@@ -58,7 +58,8 @@
if (actionCount == 0) {
openPopup();
}
- else if (actionCount < MAX_SUBMIT) {
+ // if errFrame != null this means the popup is still open, in that case do nothing
+ else if (errFrame == null && actionCount < MAX_SUBMIT) {
doSubmit(email, false);
}
}
|