Details and queue management

This commit is contained in:
2017-01-06 08:43:22 -05:00
parent d14e40a36b
commit 42ac27e16f
24 changed files with 260 additions and 51 deletions
+6
View File
@@ -1,6 +1,12 @@
function initFileUpload(objectContext) {
"use strict";
// enforce true attribute client support
jQuery.validator.addMethod("enforcetrue", function (value, element, param) {
return element.checked;
});
jQuery.validator.unobtrusive.adapters.addBool("enforcetrue");
// We use the upload handler integrated into Backload:
// In this example we set an objectContect (id) in the url query (or as form parameter).
// You can use a user id as objectContext give users only access to their own uploads.