Explorar o código

Fixed the inline display of HTML/XML documents

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@505 a333f486-631f-4898-b8df-5754b55c2be0
dflaven %!s(int64=15) %!d(string=hai) anos
pai
achega
9606540c4a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      application/cmdbabstract.class.inc.php

+ 1 - 0
application/cmdbabstract.class.inc.php

@@ -1425,6 +1425,7 @@ EOF
 				case 'text/html':
 				case 'text/xml':
 				$oPage->add("<iframe id='preview_$sAttCode' src=\"../pages/ajax.render.php?operation=display_document&class=$sClass&id=$Id&field=$sAttCode\" width=\"100%\" height=\"400\">Loading...</iframe>\n");
+				break;
 				
 				default:
 				$oPage->add("<pre>".htmlentities(MyHelpers::beautifulstr($data, 1000, true))."</pre>\n");