FSN#51327 zelf wrappen in de mobile div, anders gebeurd dit op hashed mobile schermen te laat
svn path=/Website/trunk/; revision=38586
This commit is contained in:
@@ -443,7 +443,7 @@ function mld_accept_confirm() {
|
||||
var setting_mld_accept_confirm = <%=S("mld_accept_confirm")?1:0%>;
|
||||
|
||||
if (setting_mld_accept_confirm) {
|
||||
window.location.href = "<%=rooturl%>/appl/pda/melding.asp?mld_key=<%=mld_key%>#accp-4-<%=mld_key%>";
|
||||
$.mobile.changePage("#accp-4-<%=mld_key%>");
|
||||
} else {
|
||||
console.log("mld_key: <%=mld_key%>");
|
||||
FcltMgr.confirm(L("lcl_mld_accept_1") + ("<%=mld_melding.prefix%>" || "") + "<%=mld_key%>" + L("lcl_mld_accept_2"), {
|
||||
|
||||
@@ -146,10 +146,19 @@ function FCLTpersoonselector(fieldName, objectName, params)
|
||||
<%=params.moreinfo ? " onclick='iface.persoonDetails(\"" + fieldName + "\", \"" + (params.info||"") + "\")'" : "" %>>
|
||||
<%=safe.html(lperslidName)%>
|
||||
</span>
|
||||
<% } else { %>
|
||||
<input id="<%=fieldName%>_show" class="fldpers<%=params.required? " required" : ""%>" value="<%=safe.htmlattr(lperslidName)%>" placeholder="<%=lwhenEmpty%>"
|
||||
sgType="<%=sgType%>" <%=params.onChange ? " sgonChange='" + params.onChange + "'" : ""%>>
|
||||
<% } %>
|
||||
<% } else {
|
||||
// data-role none because we want to wrap the input field ourselves (because of "suggestKlikker" placement)
|
||||
if (typeof mobile != "undefined")
|
||||
{ %>
|
||||
<div class="ui-input-text ui-body-inherit ui-corner-all ui-shadow-inset">
|
||||
<% } %>
|
||||
<input id="<%=fieldName%>_show" class="fldpers<%=params.required? " required" : ""%>" value="<%=safe.htmlattr(lperslidName)%>" placeholder="<%=lwhenEmpty%>"
|
||||
<%=(typeof mobile != "undefined" ? "data-role=\"none\"" : "")%> sgType="<%=sgType%>" <%=params.onChange ? " sgonChange='" + params.onChange + "'" : ""%>>
|
||||
<% if (typeof mobile != "undefined")
|
||||
{ %>
|
||||
</div>
|
||||
<% }
|
||||
} %>
|
||||
<input type="hidden" id="<%=fieldName%>" name="<%=fieldName%>" value="<%=params.perslidKey%>">
|
||||
<%
|
||||
if (params.extraParamField)
|
||||
|
||||
Reference in New Issue
Block a user