[Xerte-dev] Re: Would you like to publish dialog
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Mon Jul 27 11:42:37 BST 2015
It’s function bunload, but I can’t see how it gets wired up to the event: does the window need to still exist, in order to carry out the publishing? (in other words can we change the event to one that fires after the window has been destroyed)?
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat L (pgogy)
Sent: 27 July 2015 10:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Would you like to publish dialog
Knowing me i hard coded the event into the html
I suspect it'll be there if you view source
-------- Original message --------
From: Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>>
Date: 27/07/2015 10:44 (GMT+00:00)
To: For Xerte technical developers <xerte-dev at lists.nottingham.ac.uk<mailto:xerte-dev at lists.nottingham.ac.uk>>
Subject: [Xerte-dev] Re: Would you like to publish dialog
Is it the case that the code is fired from the window event fired when the editor window is closed? And is it possible that we could use a different event to let the window close before showing the prompt?
-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley (Pgogy)
Sent: 27 July 2015 10:42
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Would you like to publish dialog
template_close is some ajax php fired from https://github.com/thexerteproject/xerteonlinetoolkits/blob/dc0a62fdf0ffc8edfc7b08c5b1cb78a2f2c10865/website_code/scripts/template_management.js
On 2015-07-27 05:36, Julian Tenney wrote:
> Small issue with the 'Would you like to publish' alert that pops up
> when you close the editor: in FF, when you close the editor, the alert
> pops up, but you can't see it as it is behind the editor window, you
> have to click again to close the window. I don't understand the php in
> template_close.php to try and find an alternative means of firing the
> prompt (was thinking it would be on beforeclose event or something
> like that, and could do it afterclose?
>
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete
> it.
>
> Please do not use, copy or disclose the information contained in this
> message or in any attachment. Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
--
Pgogy Webstuff
pgogywebstuff.com
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it.
Please do not use, copy or disclose the information contained in this
message or in any attachment. Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.
This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20150727/4d6df3c4/attachment-0001.html>
More information about the Xerte-dev
mailing list