浏览代码

Added "add" event on Windows

Sebastián Katzer 8 年之前
父节点
当前提交
79d2eb755d
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/windows/LocalNotificationProxy.js

+ 4 - 0
src/windows/LocalNotificationProxy.js

@@ -94,6 +94,10 @@ exports.schedule = function (success, error, args) {
 
     impl.schedule(options);
 
+    for (i = 0; i < options.length; i++) {
+        exports.fireEvent('add', options[i]);
+    }
+
     success();
 };