Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-1456

Contextmenu: showDelay doesn't work

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.4, 3.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      IE6, Firefox 2.0.0.10
      jsf with facelets on Tomcat 6
      build 31

      Description

      1. Open ContextMenu
      2. Set showDelay 5000
      3. Invoke menu
      --->>> Menu is invoked immediately

        Gliffy Diagrams

          Activity

          Hide
          sergeyhalipov Sergey Halipov added a comment -

          Committed revision 5023.

          Show
          sergeyhalipov Sergey Halipov added a comment - Committed revision 5023.
          Hide
          ilya_shaikovsky Ilya Shaikovsky added a comment -

          FF

          Still doesn't work. Not for context nor for DDMenu(To be checked also).

          I've checked that Your changes in scripts present in FireBug.

          Facelets used if helps.

          Show
          ilya_shaikovsky Ilya Shaikovsky added a comment - FF Still doesn't work. Not for context nor for DDMenu(To be checked also). I've checked that Your changes in scripts present in FireBug. Facelets used if helps.
          Hide
          ilya_shaikovsky Ilya Shaikovsky added a comment -

          B.t.w. client error in FireBug.

          element.attachEvent is not a function
          observe(Object dummy=dummy _eventID=18, "click", function())a4j_3_2_0-SNAPSHO... (line 3892)
          refresh()menu.js.jsf (line 1127)
          asContextMenu(Object dummy=dummy _eventID=18, "click")menu.js.jsf (line 1098)
          evalScripts("//<![CDATA[\nnew RichFaces.Menu.Layer('j_id4:j_id8_menu',50,800).asContextMenu({'dummy':'dummy','o...")a4j_3_2_0-SNAPSHO... (line 395)
          (no name)("//<![CDATA[\nnew RichFaces.Menu.Layer('j_id4:j_id8_menu',50,800).asContextMenu({'dummy':'dummy','o...", 0)a4j_3_2_0-SNAPSHO... (line 633)
          (no name)("//<![CDATA[\nnew RichFaces.Menu.Layer('j_id4:j_id8_menu',50,800).asContextMenu({'dummy':'dummy','o...")a4j_3_2_0-SNAPSHO... (line 593)
          each(function(), undefined)a4j_3_2_0-SNAPSHO... (line 592)
          collect(function(), undefined)a4j_3_2_0-SNAPSHO... (line 632)
          evalScripts()a4j_3_2_0-SNAPSHO... (line 395)
          (no name)()a4j_3_2_0-SNAPSHO... (line 210)
          delay()a4j_3_2_0-SNAPSHO... (line 232)
          [Break on this error] element.attachEvent("on" + name, wrapper);

          Show
          ilya_shaikovsky Ilya Shaikovsky added a comment - B.t.w. client error in FireBug. element.attachEvent is not a function observe(Object dummy=dummy _eventID=18, "click", function())a4j_3_2_0-SNAPSHO... (line 3892) refresh()menu.js.jsf (line 1127) asContextMenu(Object dummy=dummy _eventID=18, "click")menu.js.jsf (line 1098) evalScripts("//<![CDATA[\nnew RichFaces.Menu.Layer('j_id4:j_id8_menu',50,800).asContextMenu({'dummy':'dummy','o...")a4j_3_2_0-SNAPSHO... (line 395) (no name)("//<![CDATA[\nnew RichFaces.Menu.Layer('j_id4:j_id8_menu',50,800).asContextMenu({'dummy':'dummy','o...", 0)a4j_3_2_0-SNAPSHO... (line 633) (no name)("//<![CDATA[\nnew RichFaces.Menu.Layer('j_id4:j_id8_menu',50,800).asContextMenu({'dummy':'dummy','o...")a4j_3_2_0-SNAPSHO... (line 593) each(function(), undefined)a4j_3_2_0-SNAPSHO... (line 592) collect(function(), undefined)a4j_3_2_0-SNAPSHO... (line 632) evalScripts()a4j_3_2_0-SNAPSHO... (line 395) (no name)()a4j_3_2_0-SNAPSHO... (line 210) delay()a4j_3_2_0-SNAPSHO... (line 232) [Break on this error] element.attachEvent("on" + name, wrapper);
          Hide
          sergeyhalipov Sergey Halipov added a comment -

          Fixed JS error. showDelay works for in both of FF and IE.
          Committed revision 5213.

          Show
          sergeyhalipov Sergey Halipov added a comment - Fixed JS error. showDelay works for in both of FF and IE. Committed revision 5213.
          Hide
          ilya_shaikovsky Ilya Shaikovsky added a comment -

          to branch. resolve to 3.1.4 to our QA.

          Show
          ilya_shaikovsky Ilya Shaikovsky added a comment - to branch. resolve to 3.1.4 to our QA.
          Hide
          sergeyhalipov Sergey Halipov added a comment -

          Committed revision 5407.

          Show
          sergeyhalipov Sergey Halipov added a comment - Committed revision 5407.
          Hide
          viktor_volkov Viktor Volkov added a comment -

          still reproduces

          Show
          viktor_volkov Viktor Volkov added a comment - still reproduces
          Hide
          sergeyhalipov Sergey Halipov added a comment -

          Committed revision 5435.

          Show
          sergeyhalipov Sergey Halipov added a comment - Committed revision 5435.
          Hide
          viktor_volkov Viktor Volkov added a comment -

          verified

          Show
          viktor_volkov Viktor Volkov added a comment - verified

            People

            • Assignee:
              viktor_volkov Viktor Volkov
              Reporter:
              viktor_volkov Viktor Volkov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development