Merge 2020.2 Gold J patches

svn path=/Website/trunk/; revision=52122
This commit is contained in:
Jos Groot Lipman
2021-06-28 14:20:31 +00:00
parent 1410bc40ea
commit a095e8e177
3 changed files with 7 additions and 15 deletions

View File

@@ -107,7 +107,7 @@ function dagcapaciteitCalc(date)
}
else
{
return dagCapaciteit;
return dagcapaciteit;
}
}
if (resdate)

View File

@@ -8,24 +8,16 @@
Description: return a JSON string for Internet availablity checks
Parameters: none
Context:
Note:
Sample: appl/mld/check_online.asp
Context: Vanuit de App om te kijken of hij Internet verbinding heeft
Note: Geen common.inc omdat die customerId verwacht en omdat
we niet langs default.asp komen is de customerId niet gegarandeerd gezet
*/ %>
<%
var JSON_Result = true;
ANONYMOUS_Allowed = 1;
%>
<!-- #include file="../Shared/common.inc"-->
<!-- #include file="json2.js" -->
<%
var result = {};
if (user_key > 0)
{
result.user = { id: user_key, name: user.naam() };
}
result.date = new Date();
Response.ContentType = "application/json";
Response.Write(JSON.stringify(result));
%>
<% ASPPAGE_END(); %>

View File

@@ -380,7 +380,7 @@ function callback_flex_expr_info(json)
}
else
{
var $fld = $("#" + json[kenmerk].kfieldid + "val:not(textarea)").closest("div");
var $fld = $("#" + json[kenmerk].kfieldid + "val:not(textarea)").closest("div").not('[data-role=content]');
if ($fld.length == 0)
{
$fld= $("textarea#" + json[kenmerk].kfieldid + "val"); // textarea has no parent div