You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2011/10/18 01:59:13 UTC
[jira] [Commented] (TAP5-1612) Tapestry.updateZoneOnEvent() has a
poorly formatted message when the element is not found
[ https://issues.apache.org/jira/browse/TAP5-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129356#comment-13129356 ]
Hudson commented on TAP5-1612:
------------------------------
Integrated in tapestry-trunk-freestyle #580 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/580/])
TAP5-1612: Tapestry.updateZoneOnEvent() has a poorly formatted message when the element is not found
hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1185415
Files :
* /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
> Tapestry.updateZoneOnEvent() has a poorly formatted message when the element is not found
> -----------------------------------------------------------------------------------------
>
> Key: TAP5-1612
> URL: https://issues.apache.org/jira/browse/TAP5-1612
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Reporter: Howard M. Lewis Ship
> Assignee: Howard M. Lewis Ship
> Priority: Minor
> Labels: javascript
> Fix For: 5.3
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira