Skip to content

Commit dc8968e

Browse files
committed
2.5.1 Release
1 parent ea7f092 commit dc8968e

File tree

9 files changed

+20
-14
lines changed

9 files changed

+20
-14
lines changed

Changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Change Log
22
============================
3+
### Version 2.5.1 ###
4+
SimpleAjaxUploader.js:
5+
* When returning `false` from `onSubmit()`, files will now be removed from queue automatically
6+
37
### Version 2.5.0 ###
8+
SimpleAjaxUploader.js:
49
* Removed additional name parameter from XHR uploads - <a href="https://github.com/LPology/Simple-Ajax-Uploader/issues/141">#141</a> (Special thanks to <a href="https://github.com/djxhero">djxhero</a> for this one)
510

611
### Version 2.4 ###

SimpleAjaxUploader.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**
22
* Simple Ajax Uploader
3-
* Version 2.5.0
3+
* Version 2.5.1
44
* https://github.com/LPology/Simple-Ajax-Uploader
55
*
6-
* Copyright 2012-2015 LPology, LLC
6+
* Copyright 2012-2016 LPology, LLC
77
* Released under the MIT license
88
*/
99

@@ -1091,6 +1091,7 @@ ss.SimpleUpload.prototype = {
10911091

10921092
// User returned false to cancel upload
10931093
if ( false === this._opts.onSubmit.call( this, this._queue[0].name, this._queue[0].ext, this._queue[0].btn, this._queue[0].size ) ) {
1094+
this.removeCurrent( this._queue[0].id );
10941095
return;
10951096
}
10961097

SimpleAjaxUploader.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "simple-ajax-uploader",
33
"description": "A Javascript plugin for cross-browser Ajax file uploading. Supports drag and drop, CORS, and multiple file uploading with progress bars. Works in IE7-9, mobile, and all modern browsers.",
4-
"version": "2.5.0",
4+
"version": "2.5.1",
55
"main": "SimpleAjaxUploader.js",
66
"keywords": [
77
"ajax",

extras/Uploader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
/**
44
* Simple Ajax Uploader
5-
* Version 2.5.0
5+
* Version 2.5.1
66
* https://github.com/LPology/Simple-Ajax-Uploader
77
*
8-
* Copyright 2012-2015 LPology, LLC
8+
* Copyright 2012-2016 LPology, LLC
99
* Released under the MIT license
1010
*
1111
* View the documentation for an example of how to use this class.

extras/cors.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
/**
44
* Simple Ajax Uploader
5-
* Version 2.5.0
5+
* Version 2.5.1
66
* https://github.com/LPology/Simple-Ajax-Uploader
77
*
8-
* Copyright 2012-2015 LPology, LLC
8+
* Copyright 2012-2016 LPology, LLC
99
* Released under the MIT license
1010
*
1111
*/

extras/sessionProgress.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
/**
44
* Simple Ajax Uploader
5-
* Version 2.5.0
5+
* Version 2.5.1
66
* https://github.com/LPology/Simple-Ajax-Uploader
77
*
8-
* Copyright 2012-2015 LPology, LLC
8+
* Copyright 2012-2016 LPology, LLC
99
* Released under the MIT license
1010
*
1111
* Returns upload progress updates for browsers that don't support the HTML5 File API.

extras/uploadProgress.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
/**
44
* Simple Ajax Uploader
5-
* Version 2.5.0
5+
* Version 2.5.1
66
* https://github.com/LPology/Simple-Ajax-Uploader
77
*
8-
* Copyright 2012-2015 LPology, LLC
8+
* Copyright 2012-2016 LPology, LLC
99
* Released under the MIT license
1010
*
1111
* Returns upload progress updates for browsers that don't support the HTML5 File API.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "simple-ajax-uploader",
33
"description": "A Javascript plugin for cross-browser Ajax file uploading. Supports drag and drop, CORS, and multiple file uploading with progress bars. Works in IE7-9, mobile, and all modern browsers.",
4-
"version": "2.5.0",
4+
"version": "2.5.1",
55
"main": "SimpleAjaxUploader.js",
66
"keywords": [
77
"ajax",

0 commit comments

Comments
 (0)