At the first time the window opens correctly. If I close it and open it again, it appears at the bottom of the screen. How to fix it?[attachment=110120_20171214155323_snap1-cr-jpg.jpg][/attachment]
[attachment=110120_20171214155403_snap2-cr-jpg.jpg][/attachment]
[attachment=110120_20171214155403_snap2-cr-jpg.jpg][/attachment]
At first opening style of a modal window is:
After reopening margin-top changes to 0px:
How to fix it?
<div class="ui small modal form-archvizdoma transition visible active" style="margin-top: -353px; display: block !important;">FORMCONTENT</div>
After reopening margin-top changes to 0px:
<div class="ui small modal form-archvizdoma transition visible active" style="margin-top: 0px; display: block !important;">FORMCONTENT</div>
How to fix it?
This helped me to fix the problem.
in \libraries\cegcore2\admin\extensions\chronofc\views\form\form_output.php
I've replaced line 59:
with these lines:
in \libraries\cegcore2\admin\extensions\chronofc\views\form\form_output.php
I've replaced line 59:
$modal_def = '$(".ui.modal.form-'.$form_id.'").modal('.json_encode($settings).').modal("show");';
with these lines:
$foo ="'setting',";
$modal_def = '$(".ui.modal.form-'.$form_id.'").modal('.$foo.json_encode($settings).').modal("show");';
This topic is locked and no more replies can be posted.