rem: cancel_p = quickElement('p', clock_box, '', 'class', 'calendar-cancel'); 
add: cancel_p = quickElement('p', clock_box, ''); cancel_p.className = 'calendar-cancel'; 
context:     addClock: function(inp) {        var num = DateTimeShortcuts.clockInputs.length;        DateTimeShortcuts.clockInputs[num] = inp;        // Shortcut links (clock icon and "Now" link)        var shortcuts_span = document.createElement('span');        inp.parentNode.insertBefore(shortcuts_span, inp.nextSibling);        var now_link = document.createElement('a');        now_link.setAttribute('href', "javascript:DateTimeShortcuts.handleClockQuicklink(" + num + ", new Date().getHourMinute());");        now_link.appendChild(document.createTextNode('Now'));        var clock_link = document.createElement('a');        clock_link.setAttribute('href', 'javascript:DateTimeShortcuts.openClock(' + num + ');');        quickElement('img', clock_link, '', 'src', DateTimeShortcuts.admin_media_prefix + 'img/admin/icon_clock.gif', 'alt', 'Clock');        shortcuts_span.appendChild(document.createTextNode('\240'));        shortcuts_span.appendChild(now_link);        shortcuts_span.appendChild(document.createTextNode('\240|\240'));        shortcuts_span.appendChild(clock_link);        // Create clock link div        //        // Markup looks like:        // <div id="clockbox1" class="clockbox module">        //     <h2>Choose a time</h2>        //     <ul class="timelist">        //         <li><a href="#">Now</a></li>        //         <li><a href="#">Midnight</a></li>        //         <li><a href="#">6 a.m.</a></li>        //         <li><a href="#">Noon</a></li>        //     </ul>        //     <p class="calendar-cancel"><a href="#">Cancel</a></p>        // </div>        var clock_box = document.createElement('div');        clock_box.style.display = 'none';        clock_box.style.position = 'absolute';        clock_box.style.left = findPosX(clock_link) + 17 + 'px';        clock_box.style.top = findPosY(clock_link) - 30 + 'px';        clock_box.className = 'clockbox module';        clock_box.setAttribute('id', DateTimeShortcuts.clockDivName + num);        document.body.appendChild(clock_box);        addEvent(clock_box, 'click', DateTimeShortcuts.cancelEventPropagation);        quickElement('h2', clock_box, 'Choose a time');        time_list = quickElement('ul', clock_box, '', 'class', 'timelist');        quickElement("a", quickElement("li", time_list, ""), "Now", "href", "javascript:DateTimeShortcuts.handleClockQuicklink(" + num + ", new Date().getHourMinute());")        quickElement("a", quickElement("li", time_list, ""), "Midnight", "href", "javascript:DateTimeShortcuts.handleClockQuicklink(" + num + ", '00:00');")        quickElement("a", quickElement("li", time_list, ""), "6 a.m.", "href", "javascript:DateTimeShortcuts.handleClockQuicklink(" + num + ", '06:00');")        quickElement("a", quickElement("li", time_list, ""), "Noon", "href", "javascript:DateTimeShortcuts.handleClockQuicklink(" + num + ", '12:00');")        cancel_p = quickElement('p', clock_box, '', 'class', 'calendar-cancel');        quickElement('a', cancel_p, 'Cancel', 'href', 'javascript:DateTimeShortcuts.dismissClock(' + num + ');');    },
meta: 4610	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4610/d8b83674940282c082bb3d2fce3f19bfd1589988/DateTimeShortcuts.js/clean/django/contrib/admin/media/js/admin/DateTimeShortcuts.js