navigator.notification.alert("Hello", function() {}, "OK")
but navigator.notification.alert("Hello")
works. I checked phonegap.js and did find the definition that Notification.prototype.alert = function(message, response, icon) {...};
. So, what's wrong?Mojo.Controller.showAlertDialog
which shows a modal dialog so that users can have a choice what's going on.It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
I do want to use enyojs, but I think using PhoneGap I can get rid of so many issues about crossing platforms, and enyojs is another framework that can code elegantly.