Skip to content

Commit

Permalink
Fix fileSize on upload in MX6
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelte Lagendijk committed Mar 9, 2016
1 parent 283ac30 commit 33b7af5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CKEditorForMendix",
"version": "2.0.1",
"version": "2.0.2",
"description": "A new WYSIWYG editor for Mendix that also has the ability to create 'MicroFlow links in your HTML output.",
"license": "Apache License, Version 2",
"author": "Mendix",
Expand Down
1 change: 1 addition & 0 deletions src/CKEditorForMendix/widget/CKEditorForMendix.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ define([
var guid = obj.getGuid();
var upload = new Upload({
objectGuid: guid,
maxFileSize: file.size,
startUpload: lang.hitch(this, function () {
logger.debug(this.id + "._fileUploadRequest uploading");
fileLoader.changeStatus("uploading");
Expand Down
2 changes: 1 addition & 1 deletion src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="CKEditorForMendix" version="2.0.1" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="CKEditorForMendix" version="2.0.2" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="CKEditorForMendix/CKEditorForMendix.xml"/>
<widgetFile path="CKEditorForMendix/CKEditorViewerForMendix.xml"/>
Expand Down
Binary file modified test/widgets/CKEditorForMendix.mpk
Binary file not shown.

0 comments on commit 33b7af5

Please sign in to comment.