Blank page when selecting alternative calendar in kronolith

Bug #626457 reported by Daniel Nilsson on 2010-08-29
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
prototypejs (Ubuntu)
Undecided
Unassigned

Bug Description

When trying to add an alternative calendar in kronolith using an IE7 browser, the browser loads an empty page. This is reported here already:

http://bugs.horde.org/ticket/6590

The page above points to https://prototype.lighthouseapp.com/projects/8886/tickets/90-cloneposition-problem-in-ie7 which has a patch:

--- prototype-1.6.1.js 2010-08-29 21:57:56.573337472 +0200
+++ prototype-1.6.1.js~ 2009-08-31 21:28:16.000000000 +0200
@@ -2370,7 +2370,7 @@
     if (element.offsetParent) return $(element.offsetParent);
     if (element == document.body) return $(element);

- while ((element = element.parentNode) && element != document.body && element != document)
+ while ((element = element.parentNode) && element != document.body)
       if (Element.getStyle(element, 'position') != 'static')
         return $(element);

I tried applying this patch to /usr/share/javascript/prototype/prototype-1.6.1.js and this solved the problem on my installation as well.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: libjs-prototype 1.6.1-1 [modified: usr/share/javascript/prototype/prototype-1.6.1.js]
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic-pae i686
Architecture: i386
Date: Sun Aug 29 22:13:13 2010
Dependencies:

InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release i386 (20100427)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: prototypejs

Daniel Nilsson (daniel-dnil) wrote :
tags: added: patch
Daniel T Chen (crimsun) wrote :

Resolved in Oneiric, marking as fixed

Changed in prototypejs (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers