summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/open-xchange/files/open-xchange-0.8.1.5-oxFolder.patch')
-rw-r--r--www-apps/open-xchange/files/open-xchange-0.8.1.5-oxFolder.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/www-apps/open-xchange/files/open-xchange-0.8.1.5-oxFolder.patch b/www-apps/open-xchange/files/open-xchange-0.8.1.5-oxFolder.patch
new file mode 100644
index 0000000..5243354
--- /dev/null
+++ b/www-apps/open-xchange/files/open-xchange-0.8.1.5-oxFolder.patch
@@ -0,0 +1,14 @@
+--- system/www/groupware/javascript/oxFolder.js.old 2005-11-28 22:31:25.000000000 +0100
++++ system/www/groupware/javascript/oxFolder.js 2005-11-28 22:05:18.000000000 +0100
+@@ -24,9 +24,9 @@
+ menuSelection=ediv[2];
+ selectedFolderID=ediv[3];
+ selectedFolder=selectedElement;
+- if (selectedElement.id.indexOf("|txt") != -1)
++ if (selectedElement.id.indexOf("|txt") == -1)
+ selectedFolder=document.getElementById(selectedElement.id+"|txt");
+- selectedFolderName=selectedFolder.firstChild.nodeValue;
++ selectedFolderName=(selectedFolder ? selectedFolder.firstChild.nodeValue : "unkown");
+ }
+ if (window.Event && !document.all) {
+ x=e.pageX;