Another javascript error when clicking on a line on a blame view in
browser (ie.
http://example.com/trac/browser/project/trunk/Makefile?annotate=blame&rev=28):

blame.js:92 Uncaught TypeError: Cannot read property 'mozilla' of undefined
    at Object.success (blame.js:92)
    at fire (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at done (jquery.js:5)
    at XMLHttpRequest.callback (jquery.js:5)
(anonymous) @ blame.js:92
fire @ jquery.js:2
fireWith @ jquery.js:2
done @ jquery.js:5
callback @ jquery.js:5


Faulty code:

// workaround non-clickable "Close" issue in Firefox
if ($.browser.mozilla || $.browser.safari)
  message.find("div.inlinebuttons").next().css("clear", "right");


It seems $.browser is undefined in installed JQuery !

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1653144

Title:
  Trac: javascript error using ubuntu packaged JQuery

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/trac/+bug/1653144/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to