Results 1 to 2 of 2

Thread: duplicate parent check in DwtControl

  1. #1
    jpenguin is offline Junior Member
    Join Date
    Nov 2005
    Rep Power

    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");
    Last edited by jpenguin; 11-22-2005 at 11:53 AM. Reason: fixed

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    San Mateo, CA
    Rep Power


    This is fixed in the latest code.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. <4.5.2 Upgrade Notice
    By jholder in forum Installation
    Replies: 43
    Last Post: 03-03-2007, 03:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts