Index: usr/lib/GNUstep/SOGo/WebServerResources/generic.js
===================================================================
--- usr/lib/GNUstep/SOGo/WebServerResources/generic.js	(.../trunk)	(révision 11)
+++ usr/lib/GNUstep/SOGo/WebServerResources/generic.js	(.../tags/v1.3.8.b1)	(révision 11)
@@ -258,6 +258,24 @@
     document.body.appendChild(newIFrame);
 }
 
+
+function createCASRecoveryIFrame2(url) {
+
+	var mareq = new XMLHttpRequest();    
+    var urlstr = UserFolderURL;
+    if (!urlstr.endsWith('/'))
+        urlstr += '/';
+    urlstr += "recover";
+
+    var newIFrame = createElement("iframe", null, "hidden",
+                                  { src: urlstr });
+    newIFrame.request = mareq.open("GET", url, false);
+    newIFrame.observe("load", onCASRecoverIFrameLoaded);
+    document.body.appendChild(newIFrame);
+}
+
+
+
 function onCASRecoverIFrameLoaded(event) {
     if (this.request) {
         var request = this.request;
Index: usr/lib/GNUstep/SOGo/WebServerResources/UIxTaskEditor.js
===================================================================
--- usr/lib/GNUstep/SOGo/WebServerResources/UIxTaskEditor.js	(.../trunk)	(révision 11)
+++ usr/lib/GNUstep/SOGo/WebServerResources/UIxTaskEditor.js	(.../tags/v1.3.8.b1)	(révision 11)
@@ -184,9 +184,19 @@
 }
 
 function saveEvent(sender) {
-  if (validateTaskEditor())
-    document.forms['editform'].submit();
+  if (validateTaskEditor()){
+    	/* Modifications Franck.Bordinat@univ-jfc.fr 13/09/2011
+           création d'un iframe qui créé une
+           requête GET avant la soumission du formilaire*/
 
+    	var url = "https://agenda.univ-jfc.fr";
+     	activeAjaxRequests--;
+        checkAjaxRequestsState();
+    	createCASRecoveryIFrame2(url);
+    	
+    	document.forms['editform'].submit();
+	}
+
   return false;
 }
 
Index: usr/lib/GNUstep/SOGo/WebServerResources/UIxAppointmentEditor.js
===================================================================
--- usr/lib/GNUstep/SOGo/WebServerResources/UIxAppointmentEditor.js	(.../trunk)	(révision 11)
+++ usr/lib/GNUstep/SOGo/WebServerResources/UIxAppointmentEditor.js	(.../tags/v1.3.8.b1)	(révision 11)
@@ -210,6 +210,15 @@
 
 function saveEvent(sender) {
     if (validateAptEditor()) {
+    	
+    	/* Modifications Franck.Bordinat@univ-jfc.fr 13/09/2011 
+	   création d'un iframe qui créé une 
+	   requête GET avant la soumission du formilaire*/
+    	var url = "https://agenda.univ-jfc.fr";
+     	activeAjaxRequests--;
+        checkAjaxRequestsState();
+    	createCASRecoveryIFrame2(url);
+    	
         document.forms['editform'].attendees.value = Object.toJSON($(attendees));
         document.forms['editform'].submit();
     }

Modification de propriétés sur .
___________________________________________________________________
Modifié : svn:mergeinfo
   Fusionné /trunk:r10

