[eGroupWare-svn] r55865 - /trunk/egroupware/api/js/framework/fw_base.js

[email protected]
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: nathangray
Date: Tue Apr 26 20:57:11 2016
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

Modified: trunk/egroupware/api/js/framework/fw_base.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/egroupware/api/js/framework/fw_base.js?rev=55865&r1=55864&r2=55865&view=diff
==============================================================================
--- 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.