~ubuntu-branches/ubuntu/oneiric/lightning-extension/oneiric-proposed

« back to all changes in this revision

Viewing changes to calendar/lightning/content/lightning-migration.xul

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2011-12-29 12:14:14 UTC
  • mfrom: (1.1.12)
  • Revision ID: package-import@ubuntu.com-20111229121414-q6pyb0vyeprgpl4e
Tags: 1.1+build1-0ubuntu0.11.10.1
* New upstream stable release (CALENDAR_1_1_BUILD1) (LP: #909599)

* Refresh debian/patches/02_fix_system_libxul_build.patch
* Add debian/patches/03_maxversion_override.patch to ensure compatibility
  with Thunderbird 9 point releases
* Add the new python IDL parser to the tarball
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
    <script type="application/javascript" src="chrome://calendar/content/calendar-migration-dialog.js"/>
58
58
    <script type="application/javascript"><![CDATA[
59
59
        function checkOld() {
60
 
            document.removeEventListener("load", checkOld, true);
 
60
            window.removeEventListener("load", checkOld, false);
61
61
            var calMgr = Components.classes["@mozilla.org/calendar/manager;1"]
62
62
                                   .getService(Components.interfaces.calICalendarManager);
63
63
            var cals = calMgr.getCalendars({});
66
66
                gDataMigrator.checkAndMigrate();
67
67
            }
68
68
        }
69
 
        document.addEventListener("load", checkOld, true);
 
69
        window.addEventListener("load", checkOld, false);
70
70
    ]]></script>
71
71
 
72
72
    <deck id="calendarDisplayDeck"/>