Module: nagvis Branch: master Commit: 1ce74e739d6f0cd6f6a77640f6e0ee20fc11ddce URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=1ce74e739d6f0cd6f6a77640f6e0ee20fc11ddce
Author: Lars Michelsen <[email protected]> Date: Fri Nov 26 12:10:16 2010 +0100 #395 Fixed inconsistency while using textbox style between wui and frontend --- share/frontend/wui/classes/WuiMap.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/frontend/wui/classes/WuiMap.php b/share/frontend/wui/classes/WuiMap.php index fe3ff3d..8872c9f 100644 --- a/share/frontend/wui/classes/WuiMap.php +++ b/share/frontend/wui/classes/WuiMap.php @@ -554,8 +554,8 @@ class WuiMap extends GlobalMap { $id = 'box_'.$obj['type'].'_'.$obj['id']; - $ret .= "<div id=\"".$id."\" class=\"box resizeMe\" style=\"border-color:".$sBorderColor.";background-color:".$sBgColor.";left:".$obj['x']."px;top:".$obj['y']."px;z-index:".$obj['z'].";width:".$obj['w'].";height:".$obj['h'].";overflow:visible;".$obj['style']."\" onmousedown=\"contextMouseDown(event);\" oncontextmenu=\"return contextShow(event);\">"; - $ret .= "\t<span>".$obj['text']."</span>"; + $ret .= "<div id=\"".$id."\" class=\"box resizeMe\" style=\"border-color:".$sBorderColor.";background-color:".$sBgColor.";left:".$obj['x']."px;top:".$obj['y']."px;z-index:".$obj['z'].";width:".$obj['w'].";height:".$obj['h'].";overflow:visible;\" onmousedown=\"contextMouseDown(event);\" oncontextmenu=\"return contextShow(event);\">"; + $ret .= "\t<span style=\'".$obj['style']."\'>".$obj['text']."</span>"; $ret .= "</div>"; $ret .= $this->parseContextMenu($obj); $ret .= $this->parseJs('var obj = document; addEvent(obj, "mousedown", doDown); addEvent(obj, "mouseup", doUp); addEvent(obj, "mousemove", doMove); obj = null;'); ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
