From 8d28274c90270841e4ab07c1cd5760161ab9b8a3 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 19 Sep 2006 21:10:58 +0000 Subject: [PATCH] Monotone-Parent: 4ab7955ce8d2a9f0ca458ca70149cd13b2b2e6da Monotone-Revision: cd791802b57399943d944e80382992d9a7043113 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-19T21:10:58 Monotone-Branch: ca.inverse.sogo --- UI/WebServerResources/UIxContactEditor.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/UI/WebServerResources/UIxContactEditor.js b/UI/WebServerResources/UIxContactEditor.js index bea208c6c..4a57b779f 100644 --- a/UI/WebServerResources/UIxContactEditor.js +++ b/UI/WebServerResources/UIxContactEditor.js @@ -93,13 +93,10 @@ function submitContact(thisForm) { action.setAttribute("name", "save:method"); action.setAttribute("value", "save"); - window.opener.log ("form: " + thisForm); - - window.opener.log ("validating..."); if (validateContactEditor()) { thisForm.submit(); - window.opener.setTimeout("refreshContacts(\""+ window.contactId +"\");", 200); - window.opener.log ("we close..."); + if (window.opener.refreshContacts) + window.opener.setTimeout("refreshContacts(\""+ window.contactId +"\");", 200); window.close(); } }