- Code: Select all
// form's "onRecordSelection" event
function nav(){
if( plugins.dialogs.showQuestionDialog('Confirm','Cancel?','yes','no')==='no'){
return false}}
If I click "no" the actual navigation doesn't happen but row number in the navigator changes to next record. Obviously it should stay at same record number.
How can the desired functionality be attained?