Edit C:\Windows\install\galaxie_p01_15-09\sales\interaction\realize_letter_dialogbox.jsp
<%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <script type="text/javascript"> <!-- function openMailProposal () { $("#openMailLayer").dialog({ dialogClass: "generateMail", draggable: false, modal: true, resizable: false, title:'<fl:getMessage code="F80FA" alt="Enregister le courrier"/>' }) } function generateMail () { $("#openMailLayer").addClass("inProgress"); var radioInput = $("#openMailLayer [name='generationMode']"); var mode = null; radioInput.each(function (key, input) { if($(input).attr('checked')) mode = $(input).val(); }) switch (mode) { case"save": save(); break; case"download": download(); break; } } function resetPopup() { $("#openMailLayer").removeClass("inProgress"); $('#openMailLayer').dialog('close'); } function save() { resetPopup() submit(); } function download() { var success=true; if (!mandatoryFields()) { success = false; } else { presentFieldsValue(); if (doSubmit){ if (!doSubmit()) { success = false; } } } if(success) { var form = $(document.forms[0]); var url = "<fl:webapp/>/save_object_ajax.fl?"+form.serialize(); $.getJSON(url, function(data) { var idObj = "<%= request.getParameter("id") %>"; var modelID = $("[name='IntRefDocID']").val(); if (!modelID) { resetPopup(); alert("<fl:getMessage code="M9005" alt="Veuillez choisir un modèle"/>"); return; } else { doFusion(modelID, idObj); resetPopup(); } }); } else { resetPopup(); } } function doFusion(modelID,idObj) { var urlFusion = "<fl:webapp/>/WordFusion?foward=google.com&id=" + idObj + "&modelid="+ modelID+"&format="+$("[name='format']:checked").val(); var checkedFilter = $('input:radio[name=addressFilter]:checked').val(); if (checkedFilter != undefined) { urlFusion += "&lsf=" + checkedFilter; } <% String implentationFilterID = dico.getRefIdByCode("Aru", null, "INTLOCADD"); %> if (checkedFilter == '<%= implentationFilterID %>') { urlFusion += "&lsf=" + checkedFilter + "¶m=" + $("[name='addressFilterLocation']").val(); } window.location = "<fl:link url="<%= \"read_interaction.fl?id=\"+request.getParameter(\"id\") %>"/>&downloadFusion="+encodeURIComponent(urlFusion); } //--> </script> <style type="text/css"> .generateMail.ui-dialog { z-index: 20; } .generateMail.ui-dialog .ui-dialog-titlebar { } .ui-widget-overlay { z-index: 10; } .generateMail.ui-dialog .loading { display: none; } .generateMail.ui-dialog #openMailLayer.inProgress .action { display: none; } .generateMail.ui-dialog #openMailLayer.inProgress .loading { display: block; } </style> <div style="display: none" id="openMailLayer"> <div class="action"> <div> <fl:getMessage code="L82F4" alt="Votre courrier est prêt à être imprimer, vous pouvez :"/> </div> <ul> <li><input type="radio" name="generationMode" value="save" checked="checked"/> <fl:getMessage code="L82F5" alt="Sauvegarder automatiquement le courrier dans la zone \"Courrier principal\""/></li> <li><input type="radio" name="generationMode" value="download"/> <fl:getMessage code="L82F6" alt="Ouvrir le courrier pour le modifier manuellement et sauvegarder le courrier utlérieurement"/></li> </ul> <div> <a href="javascript:generateMail()"><fl:getMessage code="A2001" alt="Valider"/></a> <a href="#" onclick="$('#openMailLayer').dialog('close');"><fl:getMessage code="A2002" alt="Annuler"/></a> </div> </div> <div class="loading"> <img src="<fl:webapp/>/skins/default/images/nowLoading.gif"/> </div> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de