Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#3433 closed defect (fixed)

dijit.util._place(): dijit.util.getScroll is not a function

Reported by: simonjb Owned by: bill
Priority: high Milestone: 0.9beta
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

When trying to open a context menu with the keyboard I get the following error in Fireclipse:

"dijit.util.getScroll is not a function"

Fireclipse is tracking the error to dijit.util._place():

var view = dojo.mixin(dijit.util.getViewport(), dijit.util.getScroll());

To reproduce:

  • open dijit/tests/test_Menu.html in Firefox with Fireclipse installed
  • focus the first textbox "top-left"
  • press shift-f10

Attachments (1)

getscroll.patch (573 bytes) - added by dante 12 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by simonjb

Actually, this problem is not limited to opening the menu with the keyboard. It also happens when the menu is opened by right-clicking with the mouse or when DropDownButton tries to open a menu.

comment:2 Changed 12 years ago by guest

Also in tooltip.

I suggest to use dojo._docScroll();

comment:3 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [9166]) Missed removing a reference to getScroll() (which I removed). Refs #3426, fixes #3433.

Changed 12 years ago by dante

Attachment: getscroll.patch added

comment:4 Changed 12 years ago by bill

Resolution: fixed

(In [9169]) Missed removing a reference to getScroll() (which I removed). Refs #3426, fixes #3433.

Note: See TracTickets for help on using tickets.