Opened 19 years ago

Last modified 19 years ago

#151 closed defect

javascript clock not dismissed by clicking "cancel"; several references to ljworld.com in the src code — at Version 1

Reported by: Davide Owned by: Adrian Holovaty
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Adrian Holovaty)

While going through part 2 of the tutorial (web admin interface), I tried to click on the "Time published" clock" image. The "cancel" row does not appear to dismiss the pop up window. (OTOH clicking on "cancel" on the calendar widget correctly dismisses the calendar popup). I also saw a message on the browser status bar saying "transferring data from media.ljworld.com..."

Looking at the source code I noticed that there are indeed several refs to media.ljworld.com:

[davides@icarus django]$ pwd
/localstore/computer/davides/tmp/django_src/django
[davides@icarus django]$ find . | xargs grep 'media.ljworld.com'
./conf/admin_media/js/.svn/text-base/SelectFilter2.js.svn-base:        quickElement('img', filter_p, '', 'src', 'http://media.ljworld.com/img/admin/selector-search.gif');
./conf/admin_media/js/.svn/text-base/SelectFilter2.js.svn-base:        quickElement('img', selector_filter, '', 'src', 'http://media.ljworld.com/img/admin/selector-add.gif', 'alt', 'Add');
./conf/admin_media/js/admin/.svn/text-base/add_calendars.js.svn-base:                           quickElement('img', cal_link, '', 'src', 'http://media.ljworld.com/img/admin/icon_calendar.gif', 'alt', 'Calendar');
./conf/admin_media/js/admin/.svn/text-base/DateTimeShortcuts.js.svn-base:        quickElement('img', clock_link, '', 'src', 'http://media.ljworld.com/img/admin/icon_clock.gif', 'alt', 'Clock');
./conf/admin_media/js/admin/.svn/text-base/DateTimeShortcuts.js.svn-base:        quickElement('img', cal_link, '', 'src', 'http://media.ljworld.com/img/admin/icon_calendar.gif', 'alt', 'Calendar');
./conf/admin_media/js/admin/add_calendars.js:                           quickElement('img', cal_link, '', 'src', 'http://media.ljworld.com/img/admin/icon_calendar.gif', 'alt', 'Calendar');
./conf/admin_media/js/admin/DateTimeShortcuts.js:        quickElement('img', clock_link, '', 'src', 'http://media.ljworld.com/img/admin/icon_clock.gif', 'alt', 'Clock');
./conf/admin_media/js/admin/DateTimeShortcuts.js:        quickElement('img', cal_link, '', 'src', 'http://media.ljworld.com/img/admin/icon_calendar.gif', 'alt', 'Calendar');
./conf/admin_media/js/SelectFilter2.js:        quickElement('img', filter_p, '', 'src', 'http://media.ljworld.com/img/admin/selector-search.gif');
./conf/admin_media/js/SelectFilter2.js:        quickElement('img', selector_filter, '', 'src', 'http://media.ljworld.com/img/admin/selector-add.gif', 'alt', 'Add');

This is with revision 291.

Change History (1)

comment:1 by Adrian Holovaty, 19 years ago

Description: modified (diff)

Made a small change to the description to fix formatting.

Note: See TracTickets for help on using tickets.
Back to Top