the solution is FULL of code like this:
- Code: Select all
var vAnswer = plugins.dialogs.showWarningDialog('i18n:1.warning', 'i18n:1.message.deleterecord', 'i18n:1.ok', 'i18n:1.cancel')
if (vAnswer == i18n.getI18NMessage('i18n:1.ok')) {
//do my stuff here
}
Also other plugins.dialogs, like INFO, ERROR are used a lot in the middle of large methods, which does not work in the webclient.
Before we start, what is the best, easiest & quickest way to convert such code to be webcomplaint?? Are there any tricks/tips?