@@ -143,15 +143,14 @@ $.fn.timePicker = function(options)
|
||||
).click(
|
||||
function(e)
|
||||
{
|
||||
var el = this;
|
||||
var timeHolder = $(this).next("div.time-holder");
|
||||
// hide other time pickers
|
||||
$("div.time-holder").not(timeHolder).hide();
|
||||
// toggle this one
|
||||
timeHolder.toggle();
|
||||
|
||||
|
||||
FcltMgr.resized(); /* JGL Added */
|
||||
|
||||
|
||||
// set selected value
|
||||
if(this.value && this.value == $("td.time.clicked", timeHolder).html())
|
||||
{
|
||||
@@ -170,7 +169,10 @@ $.fn.timePicker = function(options)
|
||||
$("body").click(
|
||||
function()
|
||||
{
|
||||
var hideThese = $("div.time-holder:visible").length;
|
||||
$("div.time-holder").hide();
|
||||
if (hideThese > 0)
|
||||
FcltMgr.resized();
|
||||
}
|
||||
);
|
||||
return this;
|
||||
|
||||
@@ -448,7 +448,8 @@ function _FCLTcalendar (fieldID, params)
|
||||
'<%=fieldID%>',
|
||||
{ <%=params.volgnr ? "volgnr: " + params.volgnr + "," : ""%>
|
||||
onChange: '<%=safe.jsstring(params.onChange)%>',
|
||||
onChangeTime: '<%=safe.jsstring(params.onChangeTime)%>'}) })
|
||||
onChangeTime: '<%=safe.jsstring(params.onChangeTime)%>'});
|
||||
FcltMgr.resized(); })
|
||||
.focus(function () { this.select() });
|
||||
<% } %>
|
||||
});
|
||||
|
||||
@@ -3057,7 +3057,7 @@ function listKenmerk(sql, module, pkey, props)
|
||||
{
|
||||
var valThis = deze.val().toLowerCase();
|
||||
var $flex_table = deze.closest(".advanced-header").next(".fcltblocktab");
|
||||
$flex_table.find("tr").each(function () {
|
||||
$flex_table.find(":not(.times) > tr").each(function () {
|
||||
var text = $(this).find("td.label > label").text().toLowerCase();
|
||||
$(this).toggle(text.indexOf(valThis) > -1);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user