diff --git a/src/CKEditorForMendix/widget/CKEditorViewerForMendix.js b/src/CKEditorForMendix/widget/CKEditorViewerForMendix.js index b82db40..de9e959 100644 --- a/src/CKEditorForMendix/widget/CKEditorViewerForMendix.js +++ b/src/CKEditorForMendix/widget/CKEditorViewerForMendix.js @@ -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] = {}; diff --git a/test/widgets/CKEditorForMendix.mpk b/test/widgets/CKEditorForMendix.mpk index c917047..9732487 100644 Binary files a/test/widgets/CKEditorForMendix.mpk and b/test/widgets/CKEditorForMendix.mpk differ