applicious_utils 0.1.82 → 0.1.83

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,8 @@ class AppliciousUploader extends AppliciousCore
23
23
 
24
24
  @UploadObj.bind 'FileUploaded', (up, file) =>
25
25
  @log 'FileUploaded:', up, file
26
- root.appliciousUploaderFileUploaded up, file
26
+ token = up.settings.multipart_params.key
27
+ root.appliciousUploaderFileUploaded up, file, token
27
28
 
28
29
  @UploadObj.bind 'Error', (up, error) =>
29
30
  @log 'Error:', up, error
@@ -1,3 +1,3 @@
1
1
  module AppliciousUtils
2
- VERSION = "0.1.82"
2
+ VERSION = "0.1.83"
3
3
  end
@@ -51,7 +51,7 @@ module AppliciousUtils
51
51
  var applicious_uploader = new plupload.Uploader({
52
52
  preinit : {
53
53
  UploadFile: function(up, file) {
54
- up.settings.multipart_params.key = '#{filename_token}_' + file.name.split('.').pop();
54
+ up.settings.multipart_params.key = '#{filename_token}' + file.name.split('.').pop();
55
55
  }
56
56
  },
57
57
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: applicious_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.82
4
+ version: 0.1.83
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: