Author:   Lars Michelsen <[email protected]>
Date:     Sat Feb 25 16:19:16 2012 +0100
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Sat Feb 25 16:19:16 2012 +0100

Bugfix: Fixed cloning shape objects (view_type error message)

---

 ChangeLog                           |    6 +++++-
 TODO                                |    1 -
 share/frontend/nagvis-js/js/edit.js |    2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0c59249..ef488b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1.6.5
+Frontend
+  * Bugfix: Fixed cloning shape objects (view_type error message)
+
 1.6.4
 Core
   * Made template objects work again. Added doc note which does not recommend
@@ -5,7 +9,7 @@ Core
   * Livestatus Backend: Added 'timeout' parameter to be able to configure the
     socket timeout while connecting to the livestatus socket
   * Livestatus Backend: Only try to connect to livestatus once per page load
-  * FIX: Fixed wrong computed shape urls which broke all shapes
+  * Bugfix: Fixed wrong computed shape urls which broke all shapes
   * The label_show parameter can now be configured for the whole installation
     in the [defaults] section of the main configuration
   * The audit.log is disabled by default now (can be enabled using the
diff --git a/TODO b/TODO
index bc82df5..fc24db6 100644
--- a/TODO
+++ b/TODO
@@ -4,7 +4,6 @@ This is a small file for storing quick thoughts about new 
features and needed ch
 Probleme:
   - Warnings anzeigen, wenn Funktionen aus oldPhpVersionFixes.php angezogen 
werden
   - Zu viele audit_log Meldungn (Bei jedem HTTP-Request?)
-  - Shapes Clonen: view_type existiert nicht
 
 Relative Koordinaten:
   - Wie funktionieren Linien zu Linien Referenzen? Geht das überhaupt?
diff --git a/share/frontend/nagvis-js/js/edit.js 
b/share/frontend/nagvis-js/js/edit.js
index 738ae40..1a4ec41 100644
--- a/share/frontend/nagvis-js/js/edit.js
+++ b/share/frontend/nagvis-js/js/edit.js
@@ -528,7 +528,7 @@ function addClick(e) {
                + '&x=' + addX.join(',')
                + '&y=' + addY.join(',');
 
-    if(addViewType != 'icon' && addViewType != '')
+    if(addObjType != 'shape' && addViewType != 'icon' && addViewType != '')
         sUrl += '&view_type=' + addViewType;
 
     if(addAction == 'clone' && cloneId !== null)


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to