The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

3xc3ption (1) [Avatar] Offline
#1
hi there,

i have a problem on chapter 14.
The drag and drop between the views work fine, but when i drop an element outside, i get an uncaught exception.

i use include order:
prototype.js
scriptaculous.js?load=effects
ext-prototype-adapter.js
ext-all.js

if i use this include order:
ext-base.js
ext-all.js

all work fine!

Here is the error message from opera:
Uncaught exception: [object Object]
Error thrown at line 918, column 23 in <anonymous function: initialize>(element) in scriptaculous/effects.js:
throw(Effect._elementDoesNotExistError);
called from line 89, column 6 in klass() in prototype.js:
this.initialize.apply(this, arguments);
called from line 7, column 37973 in <anonymous function: run>(m, v, r, u, n, x, w) in extjs3/adapter/prototype/ext-prototype-adapter.js:
p.effect=new Effect.Morph(Ext.id(m),{duration:r,afterFinish:p.proxyCallback,transition:i[u]||Effect.Transitions.linear,style:l});
called from line 7, column 37422 in <anonymous function: color>(n, l, o, p, k, m) in extjs3/adapter/prototype/ext-prototype-adapter.js:
return this.run(n,l,o,p,k,m)
called from line 7, column 149907 in <anonymous function: fxanim>(E, F, C, G, D, B) in extjs3/ext-all.js:
var H=Ext.lib.Anim[C](this.dom,E,(F.duration||G)||0.35,(F.easing||D)||r,B,this);
called from line 7, column 140552 in <anonymous function: highlight>() in extjs3/ext-all.js:
arguments.callee.anim=p(G).fxanim(C,H,"color",1,"easeIn",I)
called from line 7, column 146767 in <anonymous function: nextFx>() in extjs3/ext-all.js:
B.call(this)
called via Function.prototype.call() from line 7, column 147834 in <anonymous function: queueFx>(E, B) in extjs3/ext-all.js:
C.nextFx()
called from line 7, column 140289 in <anonymous function: highlight>(D, H) in extjs3/ext-all.js:
F.queueFx(H,function(){p(G).clearOpacity();p(G).show();function I(){G.style[B]=E;p(G).afterFx(H)}E=G.style[B];C[B]={fromsmilie||"ffff9c",to:H.endColor||p(G).getColor(B)||"ffffff"};arguments.callee.anim=p(G).fxanim(C,H,"color",1,"easeIn",I)});
called from line 7, column 553068 in <anonymous function: afterRepair>() in extjs3/ext-all.js:
Ext.Element.fly(this.dragData.ddel).highlight(this.hlColor||"c3daf9")

Have anybody an idee, how can i fix this problem !?
Thanks and best regards.

3xc3ption