Author: nathangray
New Revision: 55122
URL: http://svn.stylite.de/viewvc/egroupware?rev=55122&view=rev
Log:
Catch and log errors when trying to resize to prevent home from breaking if something goes wrong.
Modified:
trunk/etemplate/js/et2_widget_portlet.js
— trunk/etemplate/js/et2_widget_portlet.js (original)
+++ trunk/etemplate/js/et2_widget_portlet.js Tue Feb 23 22:14:26 2016
@@ -302,7 +302,12 @@
if(data.attributes.width || data.attributes.height)
{
// Tell children
-
try {
-
this.iterateOver(function(widget) {widget.resize();},null,et2_IResizeable);
-
} catch (e) {
-
// Something went wrong, but do not stop
-
egw.debug('warn',e,this);
-
}
}
},
this, true, this
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs