Skip to content

Commit f74f339

Browse files
committed
Use the action as prefix for the "@" options.
1 parent c29e5cc commit f74f339

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

js/jquery.fileupload-audio.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* jQuery File Upload Audio Preview Plugin 1.0
2+
* jQuery File Upload Audio Preview Plugin 1.0.1
33
* https://github.com/blueimp/jQuery-File-Upload
44
*
55
* Copyright 2013, Sebastian Tschan
@@ -38,8 +38,10 @@
3838
// Always trigger this action,
3939
// even if the previous action was rejected:
4040
always: true,
41-
fileTypes: '@loadAudioFileTypes',
42-
maxFileSize: '@loadAudioMaxFileSize',
41+
// Use the action as prefix for the "@" options:
42+
prefix: true,
43+
fileTypes: '@',
44+
maxFileSize: '@',
4345
disabled: '@disableAudioLoad'
4446
},
4547
{

js/jquery.fileupload-video.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* jQuery File Upload Video Preview Plugin 1.0
2+
* jQuery File Upload Video Preview Plugin 1.0.1
33
* https://github.com/blueimp/jQuery-File-Upload
44
*
55
* Copyright 2013, Sebastian Tschan
@@ -38,8 +38,10 @@
3838
// Always trigger this action,
3939
// even if the previous action was rejected:
4040
always: true,
41-
fileTypes: '@loadVideoFileTypes',
42-
maxFileSize: '@loadVideoMaxFileSize',
41+
// Use the action as prefix for the "@" options:
42+
prefix: true,
43+
fileTypes: '@',
44+
maxFileSize: '@',
4345
disabled: '@disableVideoLoad'
4446
},
4547
{

0 commit comments

Comments
 (0)