PDA

View Full Version : [OPEN] [UNKNOWN][3.0.3] jQuery Adapter, highlight() doesn't work.



defeated
10 Dec 2009, 2:08 PM
Hi,

I'm using jQuery 1.3.2 and Ext 3.0.3 with the included jQuery Adapter. Here is a minimal test case that reproduces the issue:

In the head, I included the CSS:


<link rel="stylesheet" type="text/css" href="js/lib/ext/resources/css/ext-all.css" />

, then the javascript:


<script type="text/javascript" src="js/lib/jquery/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/lib/ext/adapter/jquery/ext-jquery-adapter.js"></script>
<script type="text/javascript" src="js/lib/ext/ext-all.js"></script>
<script type="text/javascript">
jQuery(function($) {
Ext.getBody().highlight();
});
</script>

The body background doesn't flash yellow.

However, when I add the ext-base.js file right above ext-all.js, it works.