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

Smith, John J.J.Smith at gcu.ac.uk
Mon Jul 27 20:16:50 BST 2015


There's been a pull request in Github for a "Proof-of-concept for less intrusive publishing reminder" thats been there since May and may address these issues...

John Smith
Learning Technologist | School of Health & Life Sciences

T: +44 (0)141 331 3989 | E: J.J.Smith at gcu.ac.uk
Glasgow Caledonian University, Cowcaddens Road, Glasgow, G4 0BA,
Scotland, United Kingdom
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk]
Sent: 27 July 2015 11:42
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Would you like to publish dialog

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.




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.


Glasgow Caledonian University is a registered Scottish charity, number SC021474



More information about the Xerte-dev mailing list