Sfoglia il codice sorgente

Added "add" event on Windows

Sebastián Katzer 8 anni fa
parent
commit
79d2eb755d
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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();
 };