On Sunday, May 19, 2013 at 2:19 PM, Andreas Kaiser wrote:
On 18.05.2013, at 20:57, Lukas Zdych <lukas...@gmail.com> wrote:I'm very new to Kotti / Pyramid and I like it more and moreGlad you like it!.. but I have currently one silly issue with a DateTime widget on fresh Kotti and my contenttype addon which I'm playing with. When I click the datetime field in a form I get the following error in the js console.Safari / Chrome:"Uncaught TypeError: Cannot read property 'msie' of undefined"Firefox:TypeError: $.browser is undefinedThis error can be seen quite often these days and is caused by a jQueryplugin that is not (yet) compatible with jQuery 1.9 (in 1.9 $.browserhas been removed).A quick fix / workaround to get you going again would be to downgradejQuery to 1.8.2:pip uninstall js.jquery && pip install js.jquery==1.8.2
(the same in some community addons like kotti_calendar's event)I'll try to find the jQuery plugin that causes the issue (should befairly easy with your detailed report) and see if there's a newerversion of it that is compatible with jQuery 1.9. If there is such anewer version, I'll update the package that provides the plugin and pinthe new version in Kotti's requirements.txt. If there's no such newerversion we'll need (at least temporarily) pin js.jquery to 1.8.2 in therequirements.txt.
Whatever the solution will be, you can expect a permanent fix for theissue very soon.
Any ideas what I'm missing?Nothing really… ;)Thanks for reporting,Andreas
--You received this message because you are subscribed to a topic in the Google Groups "Kotti" group.To unsubscribe from this topic, visit https://groups.google.com/d/topic/kotti/I8rNKBflT-E/unsubscribe?hl=en-US.To unsubscribe from this group and all its topics, send an email to kotti+un...@googlegroups.com.For more options, visit https://groups.google.com/groups/opt_out.
Cheers and thank you for helpYou're welcome!Andreas