Author: Lars Michelsen <[email protected]>
Date: Mon Jan 21 12:03:39 2013 +0100
Committer: Lars Michelsen <[email protected]>
Commit-Date: Mon Jan 21 12:03:39 2013 +0100
Hiding all kind of javascript error messages automatically on next successful
processing
---
ChangeLog | 3 +++
share/frontend/nagvis-js/js/ajax.js | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 956b7c4..6fd20b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
1.7.5
+Frontend:
+ * Hiding all kind of javascript error messages automatically on next
+ successful processing
1.7.4
Core:
diff --git a/share/frontend/nagvis-js/js/ajax.js
b/share/frontend/nagvis-js/js/ajax.js
index e55d9d8..4c1a2f8 100644
--- a/share/frontend/nagvis-js/js/ajax.js
+++ b/share/frontend/nagvis-js/js/ajax.js
@@ -353,9 +353,10 @@ function handleJsonResponse(sUrl, responseText) {
return '';
} else {
if(isset(oResponse.type) && isset(oResponse.message)) {
- frontendMessage(oResponse);
+ frontendMessage(oResponse, 0, 'miscError');
return '';
}
+ frontendMessageRemove('miscError');
return oResponse;
}
}
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins