R36849 - /trunk/etemplate/js/et2_core_widget.js

Author: nathangray
New Revision: 36849

URL: http://svn.stylite.de/viewvc/egroupware?rev=36849&view=rev
Log:
Add a warning if trying to set an attribute to an Object, so it doesn’t just disappear

Modified:
trunk/etemplate/js/et2_core_widget.js

Modified: trunk/etemplate/js/et2_core_widget.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/etemplate/js/et2_core_widget.js?rev=36849&r1=36848&r2=36849&view=diff

— trunk/etemplate/js/et2_core_widget.js (original)
+++ trunk/etemplate/js/et2_core_widget.js Fri Oct 7 01:04:40 2011
@@ -525,9 +525,14 @@
{
for (var key in data)
{

  •   				// TODO: Why? 
      				if (!(data[key] instanceof Object))
      				{
      					_attrs[key] = data[key];
    
  •   				}
    
  •   				else
    
  •   				{
    
  •   					et2_debug("warn", "Attributes cannot be objects", this, key, data[key]);
      				}
      			}
      		}
    

All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs