Can not apply two time in two different application ( js )


#1

i have two application , one of theme is impersonate , and my application is like that .
when i enable impersonate , my code below does not work :
var tr2 = oldAdd2.apply( this,arguments);
exactly like this code has been worked in impersonate before , when i disable impersonate everything works great ,
and i dont have jquery conflict


#2

Can we see a bit more of the code, like the function around it and what this points to ?