mod/machines/lib/javascript/decko/upload.js.coffee in card-1.98.1 vs mod/machines/lib/javascript/decko/upload.js.coffee in card-1.98.2
- old
+ new
@@ -1,8 +1,8 @@
$.extend decko,
upload_file: (fileupload) ->
# for file as a subcard in a form,
-# excess parameters are inlcuded in the request which cause errors.
+# excess parameters are included in the request which cause errors.
# only the file, type_id and attachment_card_name are needed
# attachment_card_name is the original card name,
# ex: card[subcards][+logo][image], card[file]
$(fileupload).on 'fileuploadsubmit', (e,data) ->
$_this = $(this)