You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/05/08 20:46:54 UTC

[3/3] js commit: alert fix

alert fix


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/4141d79f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/4141d79f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/4141d79f

Branch: refs/heads/master
Commit: 4141d79f3cf1482931f0794d0cb18f31a8b08556
Parents: 9cfdc13
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Tue May 1 16:23:24 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Tue May 1 16:23:24 2012 -0700

----------------------------------------------------------------------
 lib/wp7/platform.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/4141d79f/lib/wp7/platform.js
----------------------------------------------------------------------
diff --git a/lib/wp7/platform.js b/lib/wp7/platform.js
index e44eb22..8a9ab70 100644
--- a/lib/wp7/platform.js
+++ b/lib/wp7/platform.js
@@ -14,8 +14,7 @@ module.exports = {
     id: "wp7",
     initialize:function() {
 
-
-
+    window.alert = require("cordova/plugin/notification").alert;
 
     // INject a lsitener for the backbutton, and tell native to override the flag (true/false) when we have 1 or more, or 0, listeners
     var backButtonChannel = cordova.addDocumentEventHandler('backbutton', {