FSN#27327 Fix-sla fixjes

svn path=/Website/trunk/; revision=19154
This commit is contained in:
Jos Groot Lipman
2013-09-18 11:25:12 +00:00
parent 83b268749e
commit 1f8da66f17
3 changed files with 3 additions and 2 deletions

View File

@@ -105,6 +105,7 @@ $.fn.timePicker = function(options)
if (newLeft + w > $("body").width())
{ // Wel in beeld houden
newLeft = Math.max(0, $("body").width() - w);
timeHolder.css('top', $(el).position().top + $(el).outerHeight() + "px");
}
timeHolder.css('left', newLeft + "px");
if(jQuery.fn.below) timeHolder.below(el).hide();

View File

@@ -99,7 +99,7 @@ var result = { success: false };
}
BLOCK_END();
%><input type='hidden' name='orgdate' value='<%=mld_melding.melddatum.getTime()%>'><%
var buttons = [ {title: L("lcl_close"), icon: "accept.png", action: "mld_close()", singlepress: true, id: "btn_close_submit" },
var buttons = [ {title: L("lcl_submit"), icon: "accept.png", action: "mld_close()", singlepress: true, id: "btn_close_submit" },
{title: L("lcl_cancel"), icon: "cancel.png", action: "mld_cancel()" } ];
CreateButtons(buttons);
IFACE.FORM_END();

View File

@@ -28,7 +28,7 @@
var mld_key = getQParamInt('mld_key');
var opmerk = getFParam("opmerk", "");
var this_mld = mld.func_enabled_melding(mld_key);
user.auth_required_or_abort(this_mld.canForward);
user.auth_required_or_abort(this_mld.canForward || this_mld.canFixSLA);
var submitting = getQParamInt("submit", 0) == 1;