bug fix: modal dialog should be removed

v2.0
Steve Nyemba 6 months ago
parent 43bbe2c96f
commit 6658b50c80

@ -94,6 +94,7 @@ menu.runScript = function(_id){
jx.utils.patterns.visitor(scripts,function(_item){
if(_item.text.trim().length > 0){
var _code = eval(_item.text)
var id = _id
if (_item.parentNode != null){

@ -1,6 +1,6 @@
<div class="border border-round dialog-title">
<div class="bold">{{title}}</div>
<div class="active" align="center" onclick="$('.jxmodal').slideUp()"><i class="fa-solid fa-times"></i></div>
<div class="active" align="center" onclick="$('.jxmodal').slideUp( function(){$('.jxmodal').remove()})"><i class="fa-solid fa-times"></i></div>
</div>
<br>
<div style="padding:10px; max-height:700px; overflow: hidden;overflow-y: auto;">{{html|safe}}</div>

Loading…
Cancel
Save