VGLD#31568 Bijlagen teller na opslaan beter bijwerken
svn path=/Website/trunk/; revision=26853
This commit is contained in:
@@ -245,9 +245,8 @@ if (fac_usrrap_key > -1)
|
||||
window.ins_key = intKey; // onthouden
|
||||
window.alg_ruimte_key = -1
|
||||
var url = "../pda/reserveringen.asp?qrc=1&modal=1&ins_key=" + intKey;
|
||||
// alwaysCall zetten lijkt niet genoeg: die reageert niet op het kruisje? alwaysCallbackParams: {} werkt wel
|
||||
MMap.noAutoResize(true); // rustiger
|
||||
FcltMgr.openModalDetail(url, "", { callback: callback_reserved, alwaysCallbackParams: {}, xnoClose: true });
|
||||
FcltMgr.openModalDetail(url, "", { callback: callback_reserved, alwaysCallback: true, xnoClose: true });
|
||||
MMap.noAutoResize(false);
|
||||
}
|
||||
if (SlnkEvent.Key > 0 && SlnkEvent.ContourLayer == "SLNK Contours") // RUIMTE
|
||||
|
||||
@@ -148,9 +148,8 @@ var authparams = user.checkAutorisation(autfunction); // voor kiezen *andere* ve
|
||||
window.alg_ruimte_key = -1
|
||||
myRefresh();
|
||||
var url = "../pda/reserveringen.asp?qrc=1&ins_key=" + intKey;
|
||||
// alwaysCall zetten lijkt niet genoeg: die reageert niet op het kruisje? alwaysCallbackParams: {} werkt wel
|
||||
MMap.noAutoResize(true); // rustiger
|
||||
FcltMgr.openModalDetail(url, "", { callback: callback_reserved, alwaysCallbackParams: {}, xnoClose: true });
|
||||
FcltMgr.openModalDetail(url, "", { callback: callback_reserved, alwaysCallback: true, xnoClose: true });
|
||||
MMap.noAutoResize(false);
|
||||
}
|
||||
<% } else { %>
|
||||
|
||||
@@ -474,14 +474,20 @@ var FcltMgr =
|
||||
},
|
||||
|
||||
// Als via kruisje gesloten. Geen callback's en dergelijke
|
||||
_closeParams: null,
|
||||
setCloseParams: function (params) // Handig in combi met alwaysCallback
|
||||
{
|
||||
parent.FcltMgr._closeParams = params;
|
||||
},
|
||||
dialogClose: function (result)
|
||||
{
|
||||
$("div.suggestautocompleteContainer").hide();
|
||||
var orgParams = FcltMgr._modalParams[FcltMgr._modalCount];
|
||||
if (orgParams.alwaysCallbackParams)
|
||||
if (orgParams.alwaysCallback)
|
||||
{
|
||||
orgParams.alwaysCallbackParams.cancel = true;
|
||||
FcltMgr._modalCallback[FcltMgr._modalCount](orgParams.alwaysCallbackParams, orgParams);
|
||||
var params = FcltMgr._closeParams || orgParams.alwaysCallbackParams || {};
|
||||
params.cancel = true;
|
||||
FcltMgr._modalCallback[FcltMgr._modalCount](params, orgParams);
|
||||
}
|
||||
|
||||
var $frm = $("iframe#fcltmodal" + FcltMgr._modalCount);
|
||||
|
||||
@@ -157,7 +157,7 @@ var copyconfirm = getQParamInt("copyconfirm", 0) == 1;
|
||||
{
|
||||
// De else tak moet nu door callback uitgevoerd worden. Ook in het geval van annuleer (cancel)
|
||||
FcltMgr.openModalDetail(params.queuemail, L("lcl_mld_noti_opdr_email"),
|
||||
{ callback: opdrMailCallback, alwaysCallbackParams: {key: params.opdr_key} });
|
||||
{ callback: opdrMailCallback, alwaysCallback: true, alwaysCallbackParams: {key: params.opdr_key} });
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -327,8 +327,12 @@ if (fso.FolderExists(params.AttachPath))
|
||||
<% } %>
|
||||
</tbody>
|
||||
<script type="text/javascript">
|
||||
window.return_data = { cnt: <%=fileArray.length%>, fileName: '<%=safe.jsstring(fileArray.length > 0? vFileName : "")%>'};
|
||||
$(document).ready(function () {iface.button.disable("btn_upload_submit")});
|
||||
window.return_data = { cnt: <%=fileArray.length%>, fileName: '<%=safe.jsstring(fileArray.length > 0? vFileName : "")%>'};
|
||||
FcltMgr.setCloseParams(window.return_data); // Zelfs als je kruisje gebruikt
|
||||
$(document).ready(function ()
|
||||
{
|
||||
iface.button.disable("btn_upload_submit")}
|
||||
);
|
||||
</script>
|
||||
<% BLOCK_END();
|
||||
// buttons.push({id: "addButton", title: "Mail naar", action: "mailFile()"});
|
||||
|
||||
@@ -210,7 +210,7 @@ function onBijlagen(formurl, // protected
|
||||
// op het filesysteem is het namelijk ook al 'gecommit'
|
||||
|
||||
params.saveUrl = saveUrl;
|
||||
FcltMgr.openModalDetail(formurl, L("lcl_appendixes"), {params: params, callback: bijlagen_callback } );
|
||||
FcltMgr.openModalDetail(formurl, L("lcl_appendixes"), {params: params, callback: bijlagen_callback, alwaysCallback: true } );
|
||||
}
|
||||
|
||||
function xmlNodeDetails(key, xmlnode)
|
||||
|
||||
Reference in New Issue
Block a user