<% /****************************************************************************** * Copyright (c) 2000-2005 e-Deal * * e-Deal S.A. * 55 rue Brillat Savarin * 75013 Paris * France * * T: +33 (0)1 53 80 80 30 * F: +33 (0)1 73 01 69 77 * http://www.e-deal.com * * La diffusion de ce code source sous quelque forme que ce soit sans * l'autorisation de E-DEAL est interdite. * * Vous êtes autorisés à modifier ce code source uniquement pour votre usage * propre et sous réserve que les mentions de copyright demeurent intactes. * * Ce code est fourni en l'état. Aucune garantie d'aucune sorte, explicite ou * implicite n'est donnée. En aucun cas E-DEAL ne pourra être tenu pour * responsable des dommages pouvant résulter de l'utilisation de ce code * source. ******************************************************************************/ %><%@page session="true"%><%@ page import="com.edeal.frontline.FieldNotInitializedException" %><%@ taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <% response.setContentType("application/x-javascript"); String id = null; try { id = Campaign.getID(); } catch (FieldNotInitializedException e) { } %> function doCtbDelete(ctbID) { // This function opens a window which asks for confirmation. If yes is clicked, catCtbDone.jsp is called // which just calls confirmCtbDelete() below window.open('/marketing/contribution/ctbDel.jsp?id=' + ctbID + '&initIntCpgID=<%= id %>','Supprimation','WIDTH=230,HEIGHT=100,left=200,top=200,alwaysraised=yes,dependent=yes'); } function confirmCtbDelete() { window.parent.location = "/read_campaign.fl?id=<%= id %>"; } function doExcDelete(excID) { // This function opens a window which asks for confirmation. If yes is clicked, catExcDone.jsp is called // which just calls confirmExcDelete() below window.open('/marketing/expensecategory/excDel.jsp?id=' + excID + '&initIntCpgID=<%= id %>','Supprimation','WIDTH=230,HEIGHT=100,left=200,top=200,alwaysraised=yes,dependent=yes'); } function confirmExcDelete() { window.parent.location = "/read_campaign.fl?id=<%= id %>"; }