Author: Lars Michelsen <[email protected]>
Date: Mon Nov 5 16:46:52 2012 +0100
Committer: Lars Michelsen <[email protected]>
Commit-Date: Mon Nov 5 16:46:52 2012 +0100
Removed useless js log message if not searched
---
share/frontend/nagvis-js/js/frontend.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/share/frontend/nagvis-js/js/frontend.js
b/share/frontend/nagvis-js/js/frontend.js
index a202570..125072d 100644
--- a/share/frontend/nagvis-js/js/frontend.js
+++ b/share/frontend/nagvis-js/js/frontend.js
@@ -1690,9 +1690,10 @@ function parseMapHandler(oObjects, params) {
getAndParseTemplates();
// When user searches for an object highlight it
- eventlog("worker", "info", "Searching for matching object(s)");
- if(oViewProperties && oViewProperties.search && oViewProperties.search !=
'')
+ if(oViewProperties && oViewProperties.search && oViewProperties.search !=
'') {
+ eventlog("worker", "info", "Searching for matching object(s)");
searchObjects(oViewProperties.search);
+ }
oObjects = null;
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins