Opened 8 years ago
Last modified 8 years ago
#16036 closed defect
dojox\mdnd\adapter\DndFromDojo.js BUG! — at Version 1
Reported by: | Alexandre | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8.2 |
Component: | DnD | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
Hello people!
I have problem with new DOJO 1.8, any page that uses dojox\mdnd\adapter\DndFromDojo? has the follow bug:
SOUCE: dojox\mdnd\adapter\DndFromDojo?.js
LINE: (51) this._dojoManager = dojo.dnd.manager();
ERROR: _1.dnd.manager is not a function Source
How to test? Run the sample: http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/layout/tests/test_GridContainer_complete_solution.html
I see these errors in other sources, because dojo.dnd.manager do not exists was replaced for dojo.dnd.Manager (M [uppercase])
Vitorelli
Change History (2)
Changed 8 years ago by
comment:1 Changed 8 years ago by
Description: | modified (diff) |
---|---|
Milestone: | tbd → 1.8.2 |
Owner: | changed from Eugene Lazutkin to bill |
Status: | new → assigned |
One issue is that dojox/mdnd/adapter/DndFromDojo.js wasn't converted properly to AMD: it's still trying to use the dojo variable to get dojo.dnd.manager.
But also, looks like dojo/dnd/Manager.js is not correctly setting dojo.dnd.manager, which is a break in backwards compatibility.
Firebug error