[eGroupWare-svn] r55770 - /trunk/calendar/js/et2_widget_owner.js

[email protected]
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: nathangray
Date: Mon Apr 18 22:48:42 2016
New Revision: 55770

URL: http://svn.stylite.de/viewvc/egroupware?rev=55770&view=rev
Log:
Check for options before using it, fixes error when un-loading widget

Modified:
    trunk/calendar/js/et2_widget_owner.js

Modified: trunk/calendar/js/et2_widget_owner.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/calendar/js/et2_widget_owner.js?rev=55770&r1=55769&r2=55770&view=diff
==============================================================================
--- trunk/calendar/js/et2_widget_owner.js (original)
+++ trunk/calendar/js/et2_widget_owner.js Mon Apr 18 22:48:42 2016
@@ -73,7 +73,7 @@
 
 	selectionRenderer: function(item)
 	{
-		if(this.options.allowFreeEntries)
+		if(this && this.options && this.options.allowFreeEntries)
 		{
 			return this._super.apply(this,arguments);
 		}


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