JavaScript Warning when Comment to Issue cancelled (in IE)

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: 3.5.2
    • Component/s: None
    • Environment:

      Internet Explorer

    • 3.05

      In your JS function you fire focus() to the textarea "comment" after making it invisible. This leads to a Browser JS warning.

      function hideComment()
      {
      try

      { var commentDiv = document.getElementById("commentDiv"); commentDiv.style.display = 'none'; setTimeout('document.getElementById("comment").focus();', 20); return true; }

      catch (e)

      { return false; }

      }

            Assignee:
            Unassigned
            Reporter:
            Stefan Baader
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified