Fix: avoid error when multiple files uploaded

This commit is contained in:
Regis Houssin
2013-05-14 15:58:20 +02:00
parent 5fe70e0bee
commit 047aa8ea29

View File

@@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2011-2012 Regis Houssin <regis.houssin@capnetworks.com>
/* Copyright (C) 2011-2013 Regis Houssin <regis.houssin@capnetworks.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -44,7 +44,7 @@ $(function () {
// Events
$('#fileupload').fileupload({
completed: function (e, data) {
stop: function (e, data) {
location.href='<?php echo $_SERVER["PHP_SELF"].'?'.$_SERVER["QUERY_STRING"]; ?>';
},
destroy: function (e, data) {