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 else
{ {
return dagCapaciteit; return dagcapaciteit;
} }
} }
if (resdate) if (resdate)

View File

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

View File

@@ -380,7 +380,7 @@ function callback_flex_expr_info(json)
} }
else 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) if ($fld.length == 0)
{ {
$fld= $("textarea#" + json[kenmerk].kfieldid + "val"); // textarea has no parent div $fld= $("textarea#" + json[kenmerk].kfieldid + "val"); // textarea has no parent div