Click
  1. Click
  2. CLK-546

Removing AutoCompleteTextField does not remove it from its parent Page

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1, 1.5.1
    • Fix Version/s: 2.1.0, 2.1.0 RC1, 1.5.2
    • Component/s: extras
    • Labels:
      None

      Description

      > If you add an AutoCompleteTextField to a form and then attempt to remove the field from the form, the <input> field itself is removed but the generated <script> code remains. This causes a browser script error when the page is rendered.

      The reason the JavaScript is still rendered is because the AutoCompleteTextField is also added to its parent Page in order for Ajax callbacks to work properly.

      We need to remove the field from the page when the field is removed from its parent container.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        42m 4s 1 Bob Schellink 01/May/09 16:47
        Bob Schellink made changes -
        Fix Version/s 2.1.0 RC1 [ 12314096 ]
        Fix Version/s 2.0.2 [ 12313731 ]
        Bob Schellink made changes -
        Fix Version/s 2.1.0 [ 12313730 ]
        Fix Version/s 2.0.2 [ 12313731 ]
        Fix Version/s 1.5.2 [ 12313733 ]
        Affects Version/s 2.0.1 [ 12313732 ]
        Affects Version/s 1.5.1 [ 12313734 ]
        Affects Version/s 2.1.0 [ 12313730 ]
        Affects Version/s 2.0.2 [ 12313731 ]
        Affects Version/s 1.5.2 [ 12313733 ]
        Bob Schellink made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Bob Schellink added a comment -

        fixed in trunk and backported to 2.0.2 and 1.5.2

        Show
        Bob Schellink added a comment - fixed in trunk and backported to 2.0.2 and 1.5.2
        Bob Schellink created issue -

          People

          • Assignee:
            Bob Schellink
            Reporter:
            Bob Schellink
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development