7 May 2012 2:13 AM #1
Ext.device.notification.PhoneGap does not return pressed button in lowercase
The callback for Ext.device.notification.PhoneGap receives the button value exactly as it was specified under buttons, whereas Ext.device.notifcation.Simulator en Ext.device.notification.Sencha return the value in lowerCase.
Proposed fix for Ext.device.notification.PhoneGap on line 13:
config.callback.apply(config.scope, (config.buttons) ? [config.buttons[index - 1]].toLowerCase() : );
7 May 2012 5:02 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Thanks for the report.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
14 May 2012 2:07 PM #3