Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1612

Tapestry.updateZoneOnEvent() has a poorly formatted message when the element is not found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.3
    • tapestry-core

    Description

      updateZoneOnEvent : function(eventName, element, zoneId, url) {
      element = $(element);

      $T(element).zoneUpdater = true;

      var zoneElement = zoneId == '^' ? $(element).up('.t-zone')
      : $(zoneId);

      if (!zoneElement) {
      Tapestry
      .error(
      "Could not find zone element '#

      {zoneId}

      ' to update on #

      {eventName}

      of element '#

      {elementId}

      ",

      { zoneId : zoneId, eventName : eventName, elementId : element.id }

      );
      return;
      }

      There's a missing trailing apostrophe.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: