[ZendTo] Re: Trial release of new code for ZendTo 4.12-1

Eythor Thorsteinsson eythort at menandmice.com
Thu May 28 13:40:29 BST 2015


Just swap out the removeFileRow function with this one, and it will not remove the last row.

function removeFileRow(el) {
	if ($('#uploadFiles').children().length>1){
		$(el).parent().remove();
		$('div.file').each(function(index) {
			$(this).children('.filelabel').html("File " + (index + 1) + ":");
		});
		file_id = $('div.file').length;
	}
}


> On 28 May 2015, at 09:35, Jules <Jules at zend.to> wrote:
> 
> Bat,
> 
> Oops, slight bug there. Well spotted!
> 
> Please can someone work out the change required to the new_dropoff.tpl 
> file Javascript code to make the delete button do nothing if there is 
> only 1 file listed?
> 
> I'm buried in work today, and it would be nice to get this one fixed 
> very soon.
> 
> Thanks!
> Jules.
> 
> 
> 
> On 28/05/2015 10:22, Jamtssuren, Batbold wrote:
>> Hi Jules,
>> 
>> Delete the Upload File on Dropoff is cool feature. But if the user has deleted all fields, no field remains to upload. Is intended?
>> 
>> Regards
>> 
>> Bat
>> -----Ursprüngliche Nachricht-----
>> Von: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] Im Auftrag von Jules
>> Gesendet: Dienstag, 26. Mai 2015 14:22
>> An: ZendTo Users
>> Betreff: [ZendTo] Re: Trial release of new code for ZendTo 4.12-1
>> 
>> If that bit didn't work, you wouldn't get any recipients stored.
>> Check that if you create a new dropoff with 3 recipients, and then
>> delete the first one (click on its "-" icon), then send it.
>> You should get a dropoff results with the correct 2 recipients showing
>> in the page.
>> 
>> Thanks for that!
>> Jules.
>> 
>> On 26/05/2015 12:19, Jamtssuren, Batbold wrote:
>>> Hi Jules ,
>>> 
>>> Thanks for the great job. During the installation of debian package, I get the following error message.
>>> 
>>> PHP Fatal error: Call- time pass -by-reference has been removed in /opt/zendto/lib/NSSDropoff.php on line 1280
>>> 
>>> In line 1280 I have removed the character & before the variable " $ matches ". It works perfectly so far.
>>> 
>>> My PHP Version: PHP 5.4.34-0+deb7u1
>>> 
>>> Regards,
>>> 
>>> Batbold
>>> 
>>> 
>>> 
>>> -----Ursprüngliche Nachricht-----
>>> Von: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] Im Auftrag von Jules
>>> Gesendet: Dienstag, 26. Mai 2015 11:45
>>> An: ZendTo Users
>>> Betreff: [ZendTo] Re: Trial release of new code for ZendTo 4.12-1
>>> 
>>> To make life easier for you, I have just put an RPM and a DEB package in
>>> the Beta area of the website:
>>>       http://zend.to/downloads.php
>>> 
>>> Please do try these out and let me know how you get on.
>>> 
>>> I haven't added them to either of the repos, so you won't automatically
>>> upgrade by mistake.
>>> 
>>> Cheers,
>>> Jules.
>>> 
>>> 
>>> On 25/05/2015 19:54, Jules wrote:
>>>> Hi folks!
>>>> 
>>>> I've been hard at work today (for a change :-)
>>>> 
>>>> The attached tgz file contains **only** the new files that have
>>>> changed from the last stable release on the website.
>>>> Before you copy them all into place, take a copy of your
>>>>      /opt/zendto/www
>>>>      /opt/zendto/templates
>>>>      /opt/zendto/lib
>>>>      /opt/zendto/sql
>>>> directories, so you aren't about to break anything.
>>>> 
>>>> When you unpack the tgz file and copy them into place, make sure they
>>>> are readable by all, so their permissions are
>>>> -rw-r--r--
>>>> 
>>>> There is now a database table 'addressbook' which you probably won't
>>>> have. If you are using MySQL then you'll need to re-apply the schema
>>>> in /opt/zendto/sql. Read the README.MySQL in there. Don't worry, it
>>>> won't delete or overwrite any of your existing tables, but it does
>>>> need to play with the indexes (indices?) in the 'addressbook' table to
>>>> fix an earlier bug.
>>>> 
>>>> Please give this a try **NOT** on a production server, and let me know
>>>> if it works for you or not. If there are any problems at all, please
>>>> get in touch with me straightaway, I'll keep a close eye on this
>>>> address+list for the rest of the week at least.
>>>> 
>>>> Here's what's new:
>>>> - Added an address book of previously used names and addresses of
>>>> recipients.
>>>>    Many thanks to Eythor Thorsteinsson for providing the UI part to get
>>>> this
>>>>    going.
>>>> - Replaced support for old Google CAPTCHA with much nicer new reCAPTCHA.
>>>>    This is now the default, give it a try! You'll need a pair of free keys
>>>>    from https://www.google.com/recaptcha/admin.
>>>> - You can now remove a file from the list when creating a new dropoff,
>>>> just
>>>>    click on the X to the right of the file description.
>>>>    Contributions for a nice little icon would be much appreciated!
>>>>    (The winner gets an entry in the ChangeLog ;-)
>>>> - Resending a dropoff resets the 'created' time so the dropoff will
>>>> not be
>>>>    deleted early. Thanks to Greg Clarke for spotting this one.
>>>> - Fixed a bug stopping you removing recipients in the middle of the list.
>>>> - Fixed a bug reporting Invalid_email_address incorrectly when doing an
>>>>    anonymous pickup.
>>>> - Fixed a couple of minor bugs.
>>>> 
>>>> 
>>>> Jules
>>>> 
>>>> 
>>>> Jules
>>>> 
>>>> --
>>>> Julian Field MEng MBCS CITP CEng
>>>> 
>>>> 'There is silent poetry in the stillness of morning;
>>>>    in the calm, the cries & sighs of life sound like gentle music.'
>>>>    - @Astro_Wheels
>>>> 
>>>> www.Zend.To
>>>> Twitter: @JulesFM
>>>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>> _______________________________________________
>>> ZendTo mailing list
>>> ZendTo at zend.to
>>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>> 
>>> Geschäftsführer: Uwe Gauff, Stefan Bollow, Michael Fischer
>>> Rechtsform: Kommanditgesellschaft, Sitz der Gesellschaft Nürnberg, Registergericht Amtsgericht Nürnberg HRA 11308, persönlich haftende Gesellschafterin Gauff GmbH , Sitz der Gesellschaft Nürnberg, Registergericht Amtsgericht Nürnberg HRB 15152
>>> 
>>> Diese Nachricht und eventuelle Anhänge unterliegen gewissen Beschränkungen und Haftungsausschlüssen unserer Unternehmensgruppe. Für Details dürfen wir Sie auf die Langform unter http://www.gauff.net/global/disclaimer verweisen. Bitte behandeln Sie die Informationen dieser Mail als vertraulich.
>>> 
>>> This message (and attachments) is subject to restrictions and a disclaimer. For Details please refer to http://www.gauff.net/global/disclaimer. Please consider the information herein as confidential.
>>> 
>>> _______________________________________________
>>> ZendTo mailing list
>>> ZendTo at zend.to
>>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>> 
>>> Jules
>>> 
>>> --
>>> Julian Field MEng MBCS CITP CEng
>>> 
>>> 'What happened in the past that was painful, has a great deal to
>>>   do with what we are today.' - William Glasser
>>> 
>>> www.Zend.To
>>> Twitter: @JulesFM
>>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>> 
>> Geschäftsführer: Uwe Gauff, Stefan Bollow, Michael Fischer
>> Rechtsform: Kommanditgesellschaft, Sitz der Gesellschaft Nürnberg, Registergericht Amtsgericht Nürnberg HRA 11308, persönlich haftende Gesellschafterin Gauff GmbH , Sitz der Gesellschaft Nürnberg, Registergericht Amtsgericht Nürnberg HRB 15152
>> 
>> Diese Nachricht und eventuelle Anhänge unterliegen gewissen Beschränkungen und Haftungsausschlüssen unserer Unternehmensgruppe. Für Details dürfen wir Sie auf die Langform unter http://www.gauff.net/global/disclaimer verweisen. Bitte behandeln Sie die Informationen dieser Mail als vertraulich.
>> 
>> This message (and attachments) is subject to restrictions and a disclaimer. For Details please refer to http://www.gauff.net/global/disclaimer. Please consider the information herein as confidential.
>> 
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>> 
>> Jules
>> 
>> -- 
>> Julian Field MEng MBCS CITP CEng
>> 
>> 
>> www.Zend.To
>> Twitter: @JulesFM
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> 
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto




More information about the ZendTo mailing list