ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Modal window shifts after reopening.

ByBus 14 Dec, 2017
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]
ByBus 16 Dec, 2017
At first opening style of a modal window is:
<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?
ByBus 17 Dec, 2017
This helped me to fix the problem.

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");';
ByBus 29 Mar, 2018
still not fixed in last update.
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com