[eGroupWare-svn] r55828 - /trunk/egroupware/api/js/framework/fw_desktop.js

[email protected]
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: hnategh
Date: Mon Apr 25 15:51:21 2016
New Revision: 55828

URL: http://svn.stylite.de/viewvc/egroupware?rev=55828&view=rev
Log:
Fix sidebar toggle sometimes flickers in close states in FF

Modified:
    trunk/egroupware/api/js/framework/fw_desktop.js

Modified: trunk/egroupware/api/js/framework/fw_desktop.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/egroupware/api/js/framework/fw_desktop.js?rev=55828&r1=55827&r2=55828&view=diff
==============================================================================
--- trunk/egroupware/api/js/framework/fw_desktop.js (original)
+++ trunk/egroupware/api/js/framework/fw_desktop.js Mon Apr 25 15:51:21 2016
@@ -264,7 +264,9 @@
 			if (_app == _app.parentFw.activeApp)
 			{
 				//Set the sidebox width if a application specific sidebox width is set
-				if (_app.sideboxWidth !== false)
+				// do not trigger resize if the sidebar is already in toggle on mode and
+				// the next set state is the same
+				if (_app.sideboxWidth !== false &&  egw.preference('toggleSidebar',_app.appName) == 'off')
 				{
 					this.sideboxSizeCallback(_app.sideboxWidth);
 					this.splitterUi.constraints[0].size = _app.sideboxWidth;


------------------------------------------------------------------------------
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.