Yep, the calendar WAS the issue here....
I commented the calendar function in web2py.js and all works great. Didn't
expect it to be the problem at all. Thank you for the hint :)
On Wednesday, August 14, 2013 3:16:17 PM UTC+2, lesssugar wrote:
>
> I get this in console:
>
> Uncaught ReferenceError: Calendar is not defined
>
> I'm not using the calendar, but I don't think that's an issue here.
>
> In the views, where LOAD doesn't work, I have small jQuery script which
> adds text hints to labels of the fields in the form. Something like this:
>
> <script type="text/javascript">
> jQuery('#seafarer_education_major__label').append("<div
> class='label_hint'>(e.g. Navigation, Management)</div>");
> jQuery('#seafarer_education_speciality__label').append("<div
> class='label_hint'>(e.g. marine transportation, maritime trade)</div>");
> jQuery('#seafarer_education_title__label').append("<div
> class='label_hint'>(e.g. engineer, master)</div>");
> </script>
>
> As I wrote before, I tried removing the script from the view, clearing
> cache and checking if LOAD works, but no success.
>
>
> On Wednesday, August 14, 2013 3:07:48 PM UTC+2, Anthony wrote:
>>
>> On Wednesday, August 14, 2013 8:56:33 AM UTC-4, lesssugar wrote:
>>
>>> If you view the network requests in the browser developer tools and
>>>> refresh the page, do you see a request to suggestions.load (...)?
>>>>
>>>
>>> Yes, there is the request to suggestions.load in the Network tab on the
>>> pages where LOAD works. None suggestions.load in the same tab after
>>> refreshing on pages where LOAD doesn't work.
>>>
>>
>> But no Javascript errors in the console? Is there any other JS
>> loading/running on the pages where LOAD does not work?
>>
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.