Author:   Lars Michelsen <[email protected]>
Date:     Sun Nov 24 16:47:38 2013 +0100
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Sun Nov 24 16:47:38 2013 +0100

Updated todos

---

 TODO                                          |    2 --
 share/frontend/nagvis-js/js/ManageBackends.js |    5 +++++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/TODO b/TODO
index a24231c..c03c8d2 100644
--- a/TODO
+++ b/TODO
@@ -1,8 +1,6 @@
 This is a small file for storing quick thoughts about new features and needed 
changes:
 ===============================================================================
 
-Bug: backend_id in global main cfg editierdialog
-
 Offene Punkte:
   - Automap zu source umbauen
     - filter_by_state neu implementieren (Und evtl. auch für alle Ansichten)
diff --git a/share/frontend/nagvis-js/js/ManageBackends.js 
b/share/frontend/nagvis-js/js/ManageBackends.js
index aa98fa7..2786d35 100644
--- a/share/frontend/nagvis-js/js/ManageBackends.js
+++ b/share/frontend/nagvis-js/js/ManageBackends.js
@@ -126,6 +126,11 @@ function updateBackendOptions(sBackendType, backendId, 
sFormId) {
 function check_backend_add() {
     var backendType = document.backend_add.backendtype.value;
 
+    if (backendType == '') {
+        alert(_("Backend type not selected. Please choose one."));
+        return false;
+    }
+
     // Merge global backend options with type specific options
     var oOptions;
     oOptions = validMainConfig['backend']['options'][backendType];


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to