[Webkit-unassigned] [Bug 14114] Link is not clickable (JavaScript error in Jira)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 13 06:54:45 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14114





------- Comment #4 from mike.aizatsky at gmail.com  2007-06-13 06:54 PDT -------
Here's the code from file. Line 101 is marked:

-------------
    // Handles the onclick events for decorated links. Hides issue content and
displays
    // the contents of the link in a new iframe undecorated
    var switchBodyDiv = function(event)
    {
        YAHOO.util.Event.preventDefault(event);
        var issueContentElem = document.getElementById('issueContent');
        if(issueContentElem != null)
        {
            // Delete existing iframe
            deleteElement('issueContentIfrmContainer');

            // Create new iframe
            var anchor = findParentElement(YAHOO.util.Event.getTarget(event),
"A");
[101]            var url = addParameterToUrl(anchor.getAttribute("href") + "",
"decorator=basic");

            var ifrmContainerDiv = document.createElement('DIV');
            ifrmContainerDiv.id = 'issueContentIfrmContainer';
            ifrmContainerDiv.innerHTML = ' <iframe id="issueContentIfrm" src="'
+ url +
                                                    '" scrolling="no"
onload="ATLASSIAN.JIRA.issueoperations.reformatFrame()" scrolling="no"
style="border:0px; width: 100%; padding: 10px; height: 0px;" frameborder="0">
</IFRAME>';

            issueContentElem.parentNode.appendChild(ifrmContainerDiv);
        }
        return false;
    };


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list