Parcourir la source

Added "add" event on Windows

Sebastián Katzer il y a 8 ans
Parent
commit
79d2eb755d
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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();
 };