While testing my application in Firefox I encountered the following
problem:
I have a master-detail view: the master displays a table, when the
user clicks the following link:
<td>
{{=A(club.bedrijf.bedrijfsnaam,_href="javascript:clublocatordetails
('%s')"\%URL(r=request,f='details',args=
[club.bedrijf.id]),_target="_blank")}}
</td>
... the details function is executed, and should be displayed in its
own window. In web2py_ajax.html I have:
function clublocatordetails(url) {
clubdetailswindow=window.open(url,'name','height=384,width=600');
if (window.focus) clubdetailswindow.focus();
return false;
}
In Safari this works flawless, In Firefox the master view works,
however, when I click a link in the table a new browser window opens,
displaying an empty page, no URL, not resized, ...
Kind regards,
Annet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---