diff --git a/htdocs/themes/default/js/stikked.js b/htdocs/themes/default/js/stikked.js index d6f9811..b5e3378 100644 --- a/htdocs/themes/default/js/stikked.js +++ b/htdocs/themes/default/js/stikked.js @@ -224,13 +224,6 @@ ST.filereader = function() { // How to read any files not specified by readAsMap readAsDefault: 'DataURL', on: { - beforestart: function(e, file) { - // return false if you want to skip this file - }, - loadstart: function(e, file) { /* Native ProgressEvent */ }, - progress: function(e, file) { /* Native ProgressEvent */ }, - load: function(e, file) { /* Native ProgressEvent */ }, - error: function(e, file) { /* Native ProgressEvent */ }, loadend: function(e, file) { try { var words = CryptoJS.enc.Base64.parse(e.target.result.split(',')[1]); @@ -241,28 +234,13 @@ ST.filereader = function() { console.info('event: ', e); console.info('file: ', file); }; - }, - abort: function(e, file) { /* Native ProgressEvent */ }, - skip: function(e, file) { - // Called when a file is skipped. This happens when: - // 1) A file doesn't match the accept option - // 2) false is returned in the beforestart callback - }, - groupstart: function(group) { - // Called when a 'group' (a single drop / copy / select that may - // contain multiple files) is receieved. - // You can ignore this event if you don't care about groups - }, - groupend: function(group) { - // Called when a 'group' is finished. - // You can ignore this event if you don't care about groups } } }); } ST.ace = function() { - // + } ST.init = function() {