Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-22-2005, 10:42 AM
Junior Member
 
Posts: 5
Default duplicate parent check in DwtControl, already fixed in M2

Looks like this has already been fixed in 3.0.0.M2.
lines 48 and 58 of DwtControl.js are doing the same thing twice:
----------------
if (parent != null && !(parent instanceof DwtComposite))
throw new DwtException("Parent must be a subclass of Composite", DwtException.INVALIDPARENT, "DwtWidget");

....
if (!(parent instanceof DwtComposite))
throw new DwtException("DwtControl parent must be a DwtComposite", DwtException.INVALIDPARENT, "DwtControl");
__________________
jpenguin

Last edited by jpenguin; 11-22-2005 at 10:53 AM.. Reason: fixed
Reply With Quote
  #2 (permalink)  
Old 11-22-2005, 02:20 PM
Zimbra Employee
 
Posts: 4,792
Default

This is fixed in the latest code.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.