Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Triggers and javascript

phpMyEdit General     Triggers and javascript
Post new topic   Reply to topic    
 
KarelB     Joined: 01 Jun 2007   Posts: 24  
Post Posted: 2009-04-27 16:59
Back to top  Reply with quote     

All,

I have the following problem.
When I go from the list mode into the view or edit mode I want a window to popup with a little form to make digital notes.

So i defined a pre trigger with the following code:
Code:

<?php
echo '<script> myPopUp = window.open(...);</script>';
?>


This works fine.
But if I want to save my result i want that popup to close.
So I defined an after trigger with the following code:
Code:

echo '<script> myPopUp.close()</script>';


And that does not work. The trigger does not recognize the javascript variable myPopUp.
Anybody knows if this can be resolved.

Cheers

Karel

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy