Fix: avoid error when multiple files uploaded
This commit is contained in:
parent
5fe70e0bee
commit
047aa8ea29
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -44,7 +44,7 @@ $(function () {
|
|||||||
|
|
||||||
// Events
|
// Events
|
||||||
$('#fileupload').fileupload({
|
$('#fileupload').fileupload({
|
||||||
completed: function (e, data) {
|
stop: function (e, data) {
|
||||||
location.href='<?php echo $_SERVER["PHP_SELF"].'?'.$_SERVER["QUERY_STRING"]; ?>';
|
location.href='<?php echo $_SERVER["PHP_SELF"].'?'.$_SERVER["QUERY_STRING"]; ?>';
|
||||||
},
|
},
|
||||||
destroy: function (e, data) {
|
destroy: function (e, data) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user