[Xerte-dev] Re: Outstanding stuff
Dave Burnett
d_b_burnett at hotmail.com
Thu Jun 21 17:50:25 BST 2012
>It appears that for some reason once you open a page form and do View / Preview and then close the form, the View / Preview menu option stops working - no idea why.
Perhaps some code that prevents spawning of multiple preview windows not being initialized?
I have code at the top of some pages that says "if you've already run this logic (duplicate some pages) don't do it again".I trip myself up occasionally when I place other code *that I do want executed each time* inside that condition.
So, what condition(s) must hold in order for View/Preview to function?Can we display the state of those conditions while we run through multiple View/Preview cycles?
Date: Thu, 21 Jun 2012 17:31:01 +0100
From: johnathan.kemp at ntlworld.com
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Re: Outstanding stuff
I have taken a copy of the wizard.swf file from the xerte svn runtime/tools folder and swapped it into my xerte installation and the problem does not appear to be fixed.
However the problem is a little more subtle than I first realised.
Open XerteOpen a pages project (I used one with a plain text page that had been added to the default project)Open the wizard for the plain text pageIn the wizard form for the page do View / Preview (result - the preview works)
Close the preview.Do View Preview in the page wizard form (again preview works)Close the page wizard form.Open the page wizard form once more.Do View Preview in the page wizard form (preview fails to take place)
Use the forms play button instead and preview will work.
It appears that for some reason once you open a page form and do View / Preview and then close the form, the View / Preview menu option stops working - no idea why.
Kind regards
Johnathan
On 21 June 2012 14:45, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:
It’s in the wizard, towwards the bottom of the code, search for ‘viewMenu’, I think that’ll drop you right in…
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 21 June 2012 14:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Outstanding stuff
Re: the preview link Which file would this relate to editor.swf?
I found the fault in the beta release I downloaded from Tom's site.
If you confirm which file this code is in I will substitute the latest version from the svn in my Xerte install and then test again.
Kind regards Johnathan
On 21 June 2012 10:34, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:Hi,
I know we are waiting on some final finishing off, : I just looked at the spreadsheet: re issue 4, the icons for the new pages wizards in the editor: I put those symbols in the editor library so it might just need rebuilding?
Re: the preview link not working from the menu: I can’t see anything wrong with this???
viewMenuListener.change = function(obj) { if (obj.menuItem.attributes.label == languageData.viewmenu[0].menuPreview) {
preview(); }
}
So not sure if this I still an issue? Last few things – let’s get this finished now,
J 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
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
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
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/20120621/9ede5f93/attachment.html>
More information about the Xerte-dev
mailing list