Author: nathangray
New Revision: 55865
URL: http://svn.stylite.de/viewvc/egroupware?rev=55865&view=rev
Log:
Remove printing margin adjustment, looks like print css covers left margin now (checked Chrome, FF, Safari, IE)
Modified:
trunk/egroupware/api/js/framework/fw_base.js
— trunk/egroupware/api/js/framework/fw_base.js (original)
+++ trunk/egroupware/api/js/framework/fw_base.js Tue Apr 26 20:57:11 2016
@@ -995,8 +995,6 @@
{
// Try to clean up after - not guaranteed
var afterPrint = function() {
-
// Reset after removing margin
-
$j('#egw_fw_main').css('margin-left', (framework.activeApp.sideboxWidth -1)+ "px");
var app = framework.activeApp;
framework.activeApp = '';
framework.setActiveApp(app);
@@ -1027,8 +1025,6 @@
// Wait for everything to be loaded, then send it off
jQuery.when.apply(jQuery, deferred).done(function() {
-
// Despite being set in the print CSS, this just doesn't work
-
$j('#egw_fw_main').css('margin-left','0px');
appWindow.setTimeout(appWindow.print, 0);
}).fail(function() {
afterPrint();
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs