Skip to content

Commit 0e188c6

Browse files
author
Sacha Trauwaen
committedMay 22, 2024
fix alpaca formbuilder not visible when popups disabled
1 parent 202fe8d commit 0e188c6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
 

‎OpenContent/AlpacaFormBuilder.ascx

+3-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@
4747
$(document).ready(function () {
4848
4949
var BuilderV2 = <%= AlpacaContext.BuilderV2 ? "true" : "false"%>;
50-
50+
if (!BuilderV2) {
51+
$(".form-builder .fb-container").show();
52+
}
5153
var windowTop = parent;
5254
var popup = windowTop.jQuery("#iPopUp");
5355
if (popup.length) {
@@ -72,7 +74,6 @@
7274
});
7375
7476
if (!BuilderV2) {
75-
$(".form-builder .fb-container").show();
7677
$('body').css('overflow', 'hidden');
7778
$(".form-builder .fb-left .fb-wrap").height('100%').css('overflow', 'hidden');
7879
var formHeight = newHeight - 100 - 20 - 62;

‎OpenContent/OpenContent.dnn

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<dotnetnuke type="Package" version="5.0">
22
<packages>
3-
<package name="OpenContent" type="Module" version="05.01.00">
3+
<package name="OpenContent" type="Module" version="05.01.01">
44
<friendlyName>OpenContent</friendlyName>
55
<description>OpenContent module by Satrabel.be</description>
66
<iconFile>~/DesktopModules/OpenContent/Images/icon_extensions.png</iconFile>

0 commit comments

Comments
 (0)