FSN#38684 enkele icoontjes verwijderd bij mobile, en onclick datepicker toegevoegd indien typeof Modernizr == "undefined" etc...

svn path=/Website/trunk/; revision=32076
This commit is contained in:
2016-12-21 16:10:19 +00:00
parent d1e004cbb1
commit 288d26d971
5 changed files with 7 additions and 7 deletions

View File

@@ -445,9 +445,6 @@ label.uploadbutton {
padding: 1px 10px;
text-align: center;
}
input.hasIcon, input.hasDatepicker {
float: left;
}
div.suggestklikker, i.dateklikker {
display:inline-block;
width:0px;

View File

@@ -19,7 +19,7 @@ $(document).bind("mobileinit", function(){
});
$(document).bind("pageinit", function(){
$("i.dateklikker,i.timeklikker").each(function() {
$(this).appendTo($(this).prev());
// $(this).appendTo($(this).prev());
});
});

View File

@@ -79,4 +79,7 @@ i.suggestbusy {
/* als readonly geen klikker weergeven */
input.suggestReadOnly + i.suggestklikker {
display: none
}
.fldkp.hasIcon, .fldpers.hasIcon {
float: left;
}

View File

@@ -167,7 +167,7 @@ function _FCLTcalendar (fieldID, params)
%>
<input class="flddate<%=!params.readonly&&params.required?" required":""%><%=params.addClass? " " + params.addClass : ""%>" type="<%=params.hidden?"hidden":"text"%>" <%=readotag%> <%=hiddentag%> id="show_<%=fieldID%>" value="<%=iniDate%>" nofollow="<%=params.nofollow? 1 : 0%>">
<% if (!params.hidden && !params.readonly) { %>
<% if (!params.hidden && !params.readonly && !params.mobile) { %>
<i class='fa fa-calendar fa-fw dateklikker' onclick='$("#show_<%=fieldID%>").datepicker("show")'></i>
<% } %>
<%
@@ -176,7 +176,7 @@ function _FCLTcalendar (fieldID, params)
<input type="text" step='<%=60*(params.timeStep||15)%>'
class="fldtime<%=!params.readonly&&params.required?" required":"" + " " + (params.timeClass||"")%><%=params.addClass? " " + params.addClass : ""%>"
id="time_from_<%=fieldID%>" <%=readotag%> size="5" value="<%=iniTime%>">
<% if (!params.readonly) { %>
<% if (!params.readonly && !params.mobile) { %>
<i class='fa fa-clock-o fa-fw timeklikker <%=(params.timeClass||"")%>' onclick='$("#time_from_<%=fieldID%>")[0].click(); FcltMgr.stopPropagation(event);'></i>
<% }
}
@@ -269,6 +269,7 @@ function _FCLTcalendar (fieldID, params)
<%= params.hidden? "showOn:'focus'," : ""%>
onSelect: $("#show_<%=fieldID%>")[0].onSelect
}).change(cal_show_onChange);
$("#show_<%=fieldID%>").on('focus', function() { $("#show_<%=fieldID%>").datepicker('show') });
<% if (params.autoopen){ %>
$("#show_<%=fieldID%>").datepicker('show');

View File

@@ -998,7 +998,6 @@ function listKenmerk(sql, module, key, props)
+ (val?" style='display:none' ": " ")
+ "onClick=\"" + blg + "\""
+">";
kv +="<i class='fa fa-file-text fa-fw hasIcon bijlage1'></i>";
}
if (kdim == 'xxx')
{