[Xerte-dev] Re: Would you like to publish dialog

Pat L (pgogy) info at pgogywebstuff.com
Mon Jul 27 10:58:29 BST 2015


Knowing me i hard coded the event into the htmlI suspect it'll be there if you view source

-------- Original message --------
From: Julian Tenney <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> 
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] 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
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

--
Pgogy Webstuff
pgogywebstuff.com

_______________________________________________
Xerte-dev mailing list
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
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/97ec2627/attachment-0001.html>


More information about the Xerte-dev mailing list