How to change the default heading of 'alert'

cordova, extjs, sencha-touch, sencha-touch-2

Solution

You'll want to use navigator.notification.alert() from the PhoneGap API instead. It will allow you to set a title on your alert box.

Problem

I am trying to use the `alert` method, so the native iOS like alertView will popout. Everything works fine, and the alert gets displayed. But the Heading of the Alert is always `index.html`. How can i edit the heading of the `alert` method

Original source