Adam Shaw 8 年之前
父节点
当前提交
42385869be
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/models/event-source/FuncEventSource.js
  2. 1 1
      src/models/event/EventDef.js

+ 1 - 1
src/models/event-source/FuncEventSource.js

@@ -8,7 +8,7 @@ var FuncEventSource = EventSource.extend({
 		var _this = this;
 
 		return Promise.construct(function(onResolve) {
-			this.func.call(
+			_this.func.call(
 				this.calendar,
 				start.clone(),
 				end.clone(),

+ 1 - 1
src/models/event/EventDef.js

@@ -36,7 +36,7 @@ var EventDef = Class.extend({
 
 		copy.id = this.id;
 		copy.rawId = this.rawId;
-		copy.uid = this.uid;
+		copy.uid = this.uid; // not really unique anymore :(
 
 		copy.title = this.title;
 		copy.rendering = this.rendering;