SusiMail: Dismiss notifications on click

This commit is contained in:
str4d
2017-07-26 23:04:29 +00:00
parent a39fb3d7c2
commit ee1112cca7
2 changed files with 3 additions and 2 deletions

View File

@@ -1811,10 +1811,10 @@ public class WebMail extends HttpServlet
"<input type=\"hidden\" name=\"" + SUSI_NONCE + "\" value=\"" + nonce + "\">");
if( sessionObject.error != null && sessionObject.error.length() > 0 ) {
out.println( "<div class=\"notifications\"><p class=\"error\">" + quoteHTML(sessionObject.error).replace("\n", "<br>") + "</p></div>" );
out.println( "<div class=\"notifications\" onclick=\"this.remove()\"><p class=\"error\">" + quoteHTML(sessionObject.error).replace("\n", "<br>") + "</p></div>" );
}
if( sessionObject.info != null && sessionObject.info.length() > 0 ) {
out.println( "<div class=\"notifications\"><p class=\"info\"><b>" + quoteHTML(sessionObject.info).replace("\n", "<br>") + "</b></p></div>" );
out.println( "<div class=\"notifications\" onclick=\"this.remove()\"><p class=\"info\"><b>" + quoteHTML(sessionObject.info).replace("\n", "<br>") + "</b></p></div>" );
}
/*
* now write body

View File

@@ -10,6 +10,7 @@
- Migrate "view or change bandwidth" to [Configure] tooltip to standardize
configuration links, allow for more space for option labels and lessen
chance of option labels wrapping in translations
* SusiMail: Dismiss notifications on click
2017-07-25 str4d
* Console: Move JRobin default color and font changes into SummaryRenderer