ruby - Rhomobile Migration from Rho3.1 to Rho 4.0 Alert Msg. Error -


i trying migrate rho application 3.1 4.0. in 3.1 have defined alert using alert.show_popup :title => "please wait", :message => "fetching data..." specified in documentation have changed

datapopprops = hash.new datapopprops['message'] = "fetching data..."; datapopprops['title'] = "please wait"; rho::notification.showpopup(datapopprops) 

but still getting same error.error shown on mobile error: button list has been incorrectly defined. dialog not launch

any great.

try this,

 datapopprops = hash.new      datapopprops['message'] = "fetching data...";  datapopprops['title'] = "please wait";      datapopprops['buttons'] = ["ok"]  rho::notification.showpopup(datapopprops) 

Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -