ICEfaces
  1. ICEfaces
  2. ICE-3099

PanelDivider dragging beyond browser viewport causes js errors

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      n/a

      Description

      if you drag the panelDivider divider beyond the browser viewport boundaries (ie. the browser is minimized to not show the entire width of the panelDivider container) the following js errors occur breaking the component functionality. These errors continue until the page is refreshed even if the browser is maximized.

      this.source.previousSibling has no properties
      getPreviousElement()ice-extras.js (line 10397)
      deadEnd(mouseup clientX=0, clientY=0)ice-extras.js (line 10246)
      detachEvent(mouseup clientX=0, clientY=0)ice-extras.js (line 10188)
      bindAsEventListener(mouseup clientX=0, clientY=0)icefaces-d2d.js (line 216)
      wrapper(mouseup clientX=0, clientY=0)ice-extras.js (line 2511)
      [Break on this error] if (this.source.previousSibling.tagName == "DIV") {

      - tested with 1.7 and current head

        Activity

        Philip Breau created issue -
        yip.ng made changes -
        Field Original Value New Value
        Assignee Yip Ng [ yip.ng ]
        Hide
        yip.ng added a comment -

        Problem existed in 1.7 release. See screenshot-1.

        Show
        yip.ng added a comment - Problem existed in 1.7 release. See screenshot-1.
        yip.ng made changes -
        Attachment screenshot-1.jpg [ 11023 ]
        Ken Fyten made changes -
        Fix Version/s 1.7.1 [ 10122 ]
        Assignee Priority P2
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16750 Thu May 29 18:09:50 MDT 2008 yip.ng ICE-3099
        Fixed JavaScript errors when divider dragged beyond browser window.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/extras/resizablePanelGrid.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16751 Thu May 29 18:10:58 MDT 2008 yip.ng ICE-3099
        Fixed JavaScript errors when divider dragged beyond browser window.
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/lib/extras/resizablePanelGrid.js
        yip.ng made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2
        Assignee Yip Ng [ yip.ng ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: