From 62bc1e01f68bc0d41346afdc53eea5134073fca1 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 13 Apr 2010 14:18:27 +0000 Subject: [PATCH] Monotone-Parent: 306c67aefff450c0e8aa8363864e5f6c435a0b84 Monotone-Revision: 51512f2a3102841c13942d3e4e41185e38cd9b5d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-04-13T14:18:27 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 + UI/Templates/ContactsUI/UIxContactEditor.wox | 102 ++++++++++--------- UI/WebServerResources/UIxContactEditor.css | 6 ++ UI/WebServerResources/UIxContactEditor.js | 7 +- 4 files changed, 69 insertions(+), 51 deletions(-) diff --git a/ChangeLog b/ChangeLog index 017826ab3..a7c9df32d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-04-13 Wolfgang Sourdeau + + * UI/WebServerResources/UIxContactEditor.js (initEditorForm): we + need to instantiate a tabs controller here too. + 2010-04-12 Wolfgang Sourdeau * SoObjects/SOGo/SOGoProxyAuthenticator.m (-passwordInContext:): diff --git a/UI/Templates/ContactsUI/UIxContactEditor.wox b/UI/Templates/ContactsUI/UIxContactEditor.wox index d01544e34..dcb130995 100644 --- a/UI/Templates/ContactsUI/UIxContactEditor.wox +++ b/UI/Templates/ContactsUI/UIxContactEditor.wox @@ -1,37 +1,38 @@ - -
+ + + -
- - - +
+ + +
-
-
    -
  • - -
  • -
  • -
  • -
  • -
  • -
- +
+
    +
  • + +
  • +
  • +
  • +
  • +
  • +
+
@@ -90,7 +91,7 @@ -
@@ -99,16 +100,16 @@
+ @@ -169,7 +170,7 @@
- +
@@ -347,14 +348,15 @@
- - - +
+ + + diff --git a/UI/WebServerResources/UIxContactEditor.css b/UI/WebServerResources/UIxContactEditor.css index 645cdfe49..c95ea74d4 100644 --- a/UI/WebServerResources/UIxContactEditor.css +++ b/UI/WebServerResources/UIxContactEditor.css @@ -18,6 +18,12 @@ TR { width: 100% !important; border: 2px solid #0ff; } +DIV#editorTabs +{ position: absolute; + left: 5px; + right: 5px; + bottom: 40px; } + DIV#editorTabs DIV.tab TD.titleCell { text-align: left; font-weight: bold; } diff --git a/UI/WebServerResources/UIxContactEditor.js b/UI/WebServerResources/UIxContactEditor.js index ca9c8b6fd..184b3f462 100644 --- a/UI/WebServerResources/UIxContactEditor.js +++ b/UI/WebServerResources/UIxContactEditor.js @@ -1,7 +1,8 @@ -/* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* -*- Mode: java; tab-width: 2; c-label-minimum-indentation: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2005 SKYRIX Software AG + Copyright (C) 2006-2010 Inverse This file is part of OpenGroupware.org. @@ -138,6 +139,10 @@ function onEditorSubmitClick(event) { } function initEditorForm() { + var tabsContainer = $("editorTabs"); + var controller = new SOGoTabsController(); + controller.attachToTabsContainer(tabsContainer); + displayNameChanged = ($("fn").value.length > 0); $("fn").onkeydown = onFnKeyDown; $("sn").onkeyup = onFnNewValue;