From 494a970e81fea8aa7ae79764d7d8cc4b9d2ecaf3 Mon Sep 17 00:00:00 2001 From: mgalgoci Date: Wed, 18 Aug 2004 19:39:05 +0000 Subject: [PATCH] The issue that this fix addresses is the following: When using the uiaccountsel widget to select accounts, when you accidently select something and want to deselect it, when you delete the item, the item is only unhighlighted, and not removed from the uiaccountsel_popup_selection select box in the opener document. This patch simply deletes the child node from the uiaccountsel_popup_selection select box instead of setting the selected false. I've tested this with some variant of msie6/xp, mozilla 1.6/win32, firefox 0.9.3/linux and mozilla 1.4.3/linux. --- phpgwapi/templates/default/uiaccountsel.tpl | 207 +++++++++++++++++++ phpgwapi/templates/edge-it/uiaccountsel.tpl | 211 ++++++++++++++++++++ 2 files changed, 418 insertions(+) create mode 100644 phpgwapi/templates/default/uiaccountsel.tpl create mode 100644 phpgwapi/templates/edge-it/uiaccountsel.tpl diff --git a/phpgwapi/templates/default/uiaccountsel.tpl b/phpgwapi/templates/default/uiaccountsel.tpl new file mode 100644 index 0000000000..4dee41c4a7 --- /dev/null +++ b/phpgwapi/templates/default/uiaccountsel.tpl @@ -0,0 +1,207 @@ + + + + + + +
+ + + + + + + + + + {left} + + {right} + +
{accountsel_icon} +
+ {query_type} + + +
+
+ + + + +
{letter}
+
{lang_showing}
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{lang_groups}
{lang_perm}
{lang_perm}
{name_user_group} + +
{name_user_group}
 
{lang_nonperm}
{name_all_group}
+
+ + + + + + + + + + + + + + + + + + + + + + +
{lang_accounts}
{sort_lid}{sort_firstname}{sort_lastname} 
{lid}{firstname}{lastname} + +
+
+ + + + + + + + + + +
{lang_selection} {remove}
+ {selection} +
+ +
+
+
+ diff --git a/phpgwapi/templates/edge-it/uiaccountsel.tpl b/phpgwapi/templates/edge-it/uiaccountsel.tpl new file mode 100644 index 0000000000..4975b2749a --- /dev/null +++ b/phpgwapi/templates/edge-it/uiaccountsel.tpl @@ -0,0 +1,211 @@ + + + + + + +
+ + + + + + + + + + {left} + + {right} + +
{accountsel_icon} +
+ + + + +
+
+ + + + +
{letter}
+
{lang_showing}
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{lang_groups}
{lang_perm}
{lang_perm}
{name_user_group} + +
{name_user_group}
 
{lang_nonperm}
{name_all_group}
+
+ + + + + + + + + + + + + + + + + + + + + + +
{lang_accounts}
{sort_firstname}{sort_lastname} 
{firstname}{lastname} + +
+
+ + + + + + + + + + +
{lang_selection} {remove}
+ {selection} +
+ +
+
+
+