Module: nagvis Branch: master Commit: 4cb389349932fa1f50750b717b92c8928e9e3c55 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=4cb389349932fa1f50750b717b92c8928e9e3c55
Author: Lars Michelsen <[email protected]> Date: Sun Apr 25 14:04:24 2010 +0200 Shapes can now also be cloned --- share/frontend/wui/classes/WuiMap.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/share/frontend/wui/classes/WuiMap.php b/share/frontend/wui/classes/WuiMap.php index 8a95f9d..aa0dca2 100644 --- a/share/frontend/wui/classes/WuiMap.php +++ b/share/frontend/wui/classes/WuiMap.php @@ -654,7 +654,7 @@ class WuiMap extends GlobalMap { } // Show clone link only for icons - if(isset($obj['view_type']) && $obj['view_type'] == 'icon') { + if((isset($obj['view_type']) && $obj['view_type'] == 'icon') || $obj['type'] == 'shape') { $tooltipText .= "<li><a style='background-image:url(".$this->CORE->getMainCfg()->getValue('paths','htmlbase')."/frontend/wui/images/clone.png)'" ." href=\"javascript:objid=".$obj['id'].";get_click('".$obj['type']."', 1, 'clone');\" onclick=\"contextHide();\">" ."<span>".$this->CORE->getLang()->getText('Clone')."</span></a></li>"; ------------------------------------------------------------------------------ _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
