Quellcode durchsuchen

#1083: HTML export: show a scroll bar when needed.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3535 a333f486-631f-4898-b8df-5754b55c2be0
dflaven vor 10 Jahren
Ursprung
Commit
3eaf368daa
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      webservices/export.php

+ 2 - 1
webservices/export.php

@@ -185,7 +185,8 @@ if (!empty($sExpression))
 			{
 				case 'html':
 				$oP = new NiceWebPage("iTop - Export");
-
+				$oP->add_style('body { overflow: auto; }'); // Show scroll bars if needed
+				
 				// Integration within MS-Excel web queries + HTTPS + IIS:
 				// MS-IIS set these header values with no-cache... while Excel fails to do the job if using HTTPS
 				// Then the fix is to force the reset of header values Pragma and Cache-control