]> err.no Git - scalable-opengroupware.org/commitdiff
Adapting to Anais1.11
authormaxime <maxime@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 7 Feb 2005 17:19:33 +0000 (17:19 +0000)
committermaxime <maxime@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 7 Feb 2005 17:19:33 +0000 (17:19 +0000)
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@531 d1b88da0-ebda-0310-925b-ed51d893ca5b

SOGo/UI/Anais/AnaisUidSelector.m
SOGo/UI/Anais/AnaisUidSelector.wox

index 01f7760682f27b01f932d14ccec7e2d56b4ac59e..6831f6075f286b3ab6d8404af9c64f8f4bfad0d5 100644 (file)
     @"  var td = document.getElementById('addMeToo');\n"
     @"  td.setAttribute('style', 'visibility:hidden');\n"
     @"}\n"
+    @"function addUidFromAnais() {\n"
+    @"  var uid = arguments[2]; \n"
+    @"  alert(uid); \n"
+    @"  addUid('','','','',uid,''); \n"
+    @"}\n"
     @"function addUid(division, cn, dn, email, uid, sn) {\n"
     @"  if(!uid)\n"
     @"    return;\n"
index 546fdd42410ca485cfe459b94c188a6941677255..0948f28b5f3896485f74ea2a968dff1bb44eb16a 100644 (file)
@@ -19,7 +19,7 @@
             <var:component className="AnaisSelector"
                            label:title="Search in Anais"
                            const:windowId="UidSelector"
-                           const:callback="addUid"
+                           const:callback="addUidFromAnais"
             />
             <var:component className="UIxContactSelector"
                            label:title="Search in Addressbook"