FCLT#68657 Misleidende: Ctrl+V een PrtScr in deze pop-up
svn path=/Website/trunk/; revision=57399
This commit is contained in:
@@ -352,8 +352,8 @@ __Log("Zoeken bestanden onder " + params.AttachPath);
|
||||
});
|
||||
}
|
||||
else if(fl.length){
|
||||
$form = $("form[name=u2]");
|
||||
var ajaxData = new FormData();
|
||||
$form = $("form[name=u2]");
|
||||
for (var i = 0; i < fl.length; i++){
|
||||
ajaxData.append("imgfile", fl[i]);
|
||||
}
|
||||
@@ -625,6 +625,7 @@ MODAL_BLOCK_START("bijlagen", L("lcl_appendixes"), { icon: "fa-paperclip" });
|
||||
<div class="dragdrop">
|
||||
<%=I("fa-sign-in-alt fa-rotate-90")%> <%=(isMultiple ? L("lcl_drag_files") : L("lcl_drag_file"))%> <%=L("lcl_fac_api_of")%>
|
||||
<br><label for="file-upload" class="uploadbutton"><%=I("fa-upload")%> <%=L("lcl_select_file")%></label>
|
||||
<% if (!regFilter || new RegExp(regFilter, "ig").test("png")) { %>
|
||||
<script>
|
||||
// window.clipboardData is only supported in IE whereas our functionality to Ctrl+V a PrtScr exists only outside of IE
|
||||
if (typeof window.clipboardData == "undefined") // = Not Internet Explorer
|
||||
@@ -632,6 +633,7 @@ MODAL_BLOCK_START("bijlagen", L("lcl_appendixes"), { icon: "fa-paperclip" });
|
||||
document.write('<br>' + I("fa-clipboard") + ' <%=L("lcl_fac_api_of")%> <%=L("lcl_paste_screenshot")%>');
|
||||
}
|
||||
</script>
|
||||
<% } %>
|
||||
</div>
|
||||
<div id="displayFilename"></div>
|
||||
<% if (params.extFilter) { Response.Write("(" + safe.html(params.extFilter) + ")"); } %>
|
||||
|
||||
Reference in New Issue
Block a user