Skip to content

Commit

Permalink
Fixed IE8 issue in the CK Viewer with Date.now()
Browse files Browse the repository at this point in the history
  • Loading branch information
Rvthof committed Jul 16, 2015
1 parent 1fb14b4 commit b123df3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CKEditorForMendix/widget/CKEditorViewerForMendix.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ require({

domStyle.set(this.domNode, "display", "inline");
var html = this._contextObj.get(this.messageString),
name = Date.now();
name = Date.now ? Date.now() : +new Date;

// Set the content of the link.
window.CKEditorViewer.data[this.id] = {};
Expand Down
Binary file modified test/widgets/CKEditorForMendix.mpk
Binary file not shown.

0 comments on commit b123df3

Please sign in to comment.