Open Modal Dialog not working on second call from an action chain.
Summary
Open Modal Dialog not working on second call from an action chain.Content
Requirement is to display values returned from a rest service in a dialog containing table with the details. this action is implemented on value change event of an input text. it works well for the first time. wherein for the second time it opens the dialog for a sec and gets closed with a warning. Below is the code snippet from JS and JET.
JS: PageModule.prototype.openDialog=function(){
document.querySelector('#modalDialog1').open();
};
PageModule.prototype.closeDialog = function(){
document.querySelector('#modalDialog1').close();
};
JET:
Tagged:
0