[Xerte-dev] Re: Deletion pop fixed
Pat Lockley
patrick.lockley at googlemail.com
Wed Jul 18 10:34:53 BST 2012
Maybe script didn't refresh.
If your numbers work commit it
On 18 Jul 2012, at 10:33, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:
> Ok cheers you had if(name_string.length==3){ changing it to if(name_string.length==4){ or if(name_string.length>2){ works correctly for both folder and file deletion.
>
> e.g. when delting a file the length = 2 and when deleting a folder = 4
>
> But why is it working correctly for you with it set to ==3?
>
> Shall I commit the change to if(name_string.length==4){?
>
> Cheers
> Ron
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 18 July 2012 09:59
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Deletion pop fixed
>
> It worked ok on mine - there is a conditional in the function now - maybe stick some alerts in to see where it goes wrong
>
> On 18 Jul 2012, at 09:57, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:
>
> Hi Pat
> was this meant to be the fix for the issue with html showing rather than folder name when trying to delete a folder?
> I've updated both the test server and my local test install and now we're back to where we were originally e.g. deleting a file displays the correct confirmation but deleting a folder gives the following:
>
> <image001.png>
>
> -----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
> Sent: 17 July 2012 22:36
> To: For Xerte technical developers
> Subject: [Xerte-dev] Deletion pop fixed
>
> committed
>
> _______________________________________________
> 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.
>
>
> 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/20120718/5996db0a/attachment.html>
More information about the Xerte-dev
mailing list