On 27 May 2012 09:38, Annet wrote:
> I solved the problem by moving the JavaScript code from right below
> {{extend calendar/index.html}} to right above
>
>
>
>
> $("a[data-toggle=modal]").click(function (e) {
> target = $(this).attr('data-target')
> url = $(this).attr('href')
> $(target
I solved the problem by moving the JavaScript code from right below
{{extend calendar/index.html}} to right above
{{extend 'calendar/index.html'}}
{{if rows:}}
...
{{pass}}
$("a[data-toggle=modal]").click(function (e) {
target = $(this).attr('data-target')
url = $(this).att
Hi,
Thanks for your reply.
One thing: does it behave differently if you change ajax=False in the
> LOAD()?
>
I don't think that's the cause of the problem, I replaced the ajax menu:
Home
Openingtijden
Event list
... with a none ajax menu:
Home
Openingtijden
Event
list
An
Hard to say. There are a number of moving parts in your design.
One thing: does it behave differently if you change ajax=False in the
LOAD()?
On Friday, May 25, 2012 11:14:50 AM UTC-7, Annet wrote:
>
> In a controller I have the following functions:
>
> def eventList():
> response.view='cal
Hi Anthony,
Thanks for your reply, after spending figuring out why I ended up with an
empty backdrop I found that I had to move the JavaScript part from
calendar/index.html to calendar/eventlist.html. I have no idea why,
eventList.html is loaded into index.html.
This is the relevant part in in
>
>
> {{=LOAD('calendar','eventList.load',args=int(organization.nodeID),ajax=True,target='eventlist')}}
>
>
> The eventList view lists all the events and each event has a view details
> button.
>
> data-target="#myModal">View Details
>
Have you confirmed that the Ajax request is getting sent an
6 matches
Mail list logo