PDA

View Full Version : [FIXED][3.0] with ext-jquery-adapter.js - Ext.util.TaskRunner is undefined



kirill533
7 May 2009, 11:23 AM
Workable configuration:

<script src="/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="/extjs30/adapter/ext/ext-base.js" type="text/javascript"></script>
<script src="/extjs30/ext-all-debug.js" type="text/javascript"></script>

Ext.util.TaskRunner is constructor


With this head

<script src="/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="/extjs30/adapter/jquery/ext-jquery-adapter.js" type="text/javascript"></script>
<script src="/extjs30/ext-all-debug.js" type="text/javascript"></script>

I have error

Message: Ext.util.TaskRunner is not a constructor
File: http://work.master.local/extjs30/ext-all-debug.js
Line: 33470



Ext.FormPanel = Ext.extend(Ext.Panel, {

...
startMonitoring : function(){
if(!this.validTask){
this.validTask = new Ext.util.TaskRunner(); // (this line has error)
this.validTask.start({
run : this.bindHandler,
interval : this.monitorPoll || 200,
scope: this
});
}
},

...

mjlecomte
4 Jun 2009, 4:25 PM
Looks like this may be problem across several adapters:
http://extjs.com/forum/showthread.php?p=338296#post338296

DAddYE
5 Jun 2009, 8:57 AM
Same problem, for me, Im using svn 4223 it's normal that is not already fixed?

mjlecomte
5 Jun 2009, 9:42 AM
Same problem, for me, Im using svn 4223 it's normal that is not already fixed?

Could you try r4224 or better?

mschwartz
5 Jun 2009, 12:24 PM
I've taken to including adapter/ext/ext-base.js after ext-jquery-adapter.js to provide the missing functions.

DAddYE
6 Jun 2009, 12:19 AM
Tried now 4224 works great with prototype.

mjlecomte
15 Jun 2009, 11:07 AM
Updating status to FIXED.