Am 05.01.2012 10:38, schrieb Bart Verwilst:
Package: otrs2
Version: 3.0.11+dfsg1-1
When going tohttp://otrs.localhost/index.pl?Action=AgentTicketPhone
<http://otrs.intux/index.pl?Action=AgentTicketPhone> for example, the text
editor seems to be throwing errors:
[ERROR] JavaScriptError: Object #<Object> has no method 'autocomplete'
Core.Debug.js:42 <http://otrs.intux/otrs-web/js/Core.Debug.js>[STACKTRACE] HTMLDocument.<anonymous>
(http://otrs.localhost/otrs-web/js/Core.App.js:39:21 <http://otrs.intux/otrs-web/js/Core.App.js>) Function.<anonymous>
(http://otrs.localhost/otrs-web/js/thirdparty/jquery/jquery.js:3032:11
<http://otrs.intux/otrs-web/js/thirdparty/jquery/jquery.js>) Function.each
(http://otrs.localhost/otrs-web/js/thirdparty/jquery/jquery.js:692:29
<http://otrs.intux/otrs-web/js/thirdparty/jquery/jquery.js>) Function.ready
(http://otrs.localhost/otrs-web/js/thirdparty/jquery/jquery.js:3031:12
<http://otrs.intux/otrs-web/js/thirdparty/jquery/jquery.js>) HTMLDocument.<anonymous>
(http://otrs.localhost/otrs-web/js/thirdparty/jquery/jquery.js:3056:11
<http://otrs.intux/otrs-web/js/thirdparty/jquery/jquery.js>)
Core.Exception.js:113 <http://otrs.intux/otrs-web/js/Core.Exception.js>Uncaught
TypeError: Object #<Object> has no method 'autocomplete'
This renders anything javascript-based useless (eg buttons,...).
Downloading the source of 3.0.11 and using this works just fine.
It seems that the debian package has differences from the original source, as
seen here:
Debian package has: jQuery JavaScript Library v1.3.2
/usr/share/otrs/var/httpd/htdocs/js/thirdparty/jquery/jquery.js
Original source has:jQuery JavaScript Library v1.4.4
/opt/otrs/var/httpd/htdocs/js/thirdparty/jquery-1.4.4/jquery.js
I'm not sure why this has been changed?
Kind regards,
Bart
Uhm, what shows ups:
uname -a
dpkg -l|grep libjs
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]