For partners that build or integrate commercially available applications and service solutions with the Oracle Cloud Platform
For partners that provide implementation or managed services around Oracle Cloud Applications
Hi All,
My page has a dialogbox which opens on click of button. First it opens as expected. When you click on the button again it auto closes and never opens again.
Could you let me know what went wrong here. Below is html code and and java script.
HTML Code :
<div id="dialogWrapper">
<oj-dialog style="display:none" id="modalDialog1" title="Modal Dialog">
<div slot="body">
The dialog window can be moved, resized and closed with the 'x' icon.
Arbitrary content can be added to the the body and footer sections.
</div>
<div slot="footer">
<oj-button id="okButton" data-bind="click: function() {
document.querySelector('#modalDialog1').close();
}"> OK
</oj-button>
</div>
</oj-dialog>
<oj-button id="buttonOpener" data-bind="click: function() {
document.querySelector('#modalDialog1').open();
}">
Open Modal Dialog
</oj-button>
</div>
Java Script:
define([], function() {
'use strict';
var PageModule = function PageModule() {};
return PageModule;
});
This should help:
Upgrading the Sample R13 SaaS LightBlue Theme for Visual Builder 19.3.n
This should help:
Upgrading the Sample R13 SaaS LightBlue Theme for Visual Builder 19.3.n