View Full Version : [OPEN-1333] "Ext.dd is undefined" when using ext-yui-adapter.js (Ext 3.3.0)

14 Oct 2010, 4:04 PM
I get the error "Ext.dd is undefined" when using ext-yui-adapter.js
The old one created a bunch of namespaces. Most of them are removed, but I think the Ext.dd one is still needed.

Ext version: 3.3.0

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<title>YUI adapter issue</title>
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
<script type="text/javascript" src="utilities.js"></script>
<script type="text/javascript" src="../../adapter/yui/ext-yui-adapter.js"></script>
<script type="text/javascript" src="../../ext-all.js"></script>


The YUI utilities file is needed in the same directory as this html file.<br />
<br />
Notice the JavaScript error when loading this page. In FireFox I see:<br />
<b>Error: Ext.dd is undefined<br />
Source File: file:///... ... .../ext-3.3.0/adapter/yui/ext-yui-adapter.js
Line: 7</b>


3 Nov 2010, 3:36 PM
I'm also seeing this issue. Easy to fix, but I hope the fix is included in 3.3.1.