FSN#38544 Timepicker icoontje beter ondersteunen. Mobile layout is nog niet geweldig
svn path=/Website/trunk/; revision=31666
This commit is contained in:
@@ -17,6 +17,11 @@ $(document).bind("mobileinit", function(){
|
||||
if (window.FcltMgr)
|
||||
FcltMgr.fixActiveelementError();
|
||||
});
|
||||
$(document).bind("pageinit", function(){
|
||||
$("i.dateklikker,i.timeklikker").each(function() {
|
||||
$(this).appendTo($(this).prev());
|
||||
});
|
||||
});
|
||||
|
||||
function McltCallbackAndThen(afterAction)
|
||||
{
|
||||
|
||||
@@ -173,7 +173,7 @@ function _FCLTcalendar (fieldID, params)
|
||||
class="fldtime<%=!params.readonly&¶ms.required?" required":"" + " " + (params.timeClass||"")%><%=params.addClass? " " + params.addClass : ""%>"
|
||||
id="time_from_<%=fieldID%>" <%=readotag%> size="5" value="<%=iniTime%>">
|
||||
<% if (!params.hidden && !params.readonly) { %>
|
||||
<i class='fa fa-clock-o fa-fw timeklikker' onclick='$("#time_from_<%=fieldID%>").timepicker("show")'></i>
|
||||
<i class='fa fa-clock-o fa-fw timeklikker <%=(params.timeClass||"")%>' onclick='$("#time_from_<%=fieldID%>")[0].click(); FcltMgr.stopPropagation(event);'></i>
|
||||
<% }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user