Add frontend assets and plugin bundles
Add the legacy frontend themes, scripts, and plugin assets required by the main SPOTA interfaces.
This commit is contained in:
17
assets/js/form-dropzone.js
Normal file
17
assets/js/form-dropzone.js
Normal file
@@ -0,0 +1,17 @@
|
||||
var Dropzone = function () {
|
||||
//function to initiate DropzoneJS
|
||||
var runDropzone = function () {
|
||||
//for more information about Server side implementation
|
||||
//please visit http://www.dropzonejs.com/
|
||||
$(".dropzone").dropzone({
|
||||
paramName: "file", // The name that will be used to transfer the file
|
||||
maxFilesize: 5.0, // MB
|
||||
addRemoveLinks: true
|
||||
});
|
||||
};
|
||||
return {
|
||||
init: function () {
|
||||
runDropzone();
|
||||
}
|
||||
};
|
||||
}();
|
||||
Reference in New Issue
Block a user