rem: if (note.author != ps_photo_character_id) { 
add: if (!note.author_owner) { 
context:         this.makeEditable = function() {            note.textarea = elm("textarea");            note.textarea.style.width = '20em';            note.text_div.style.width = '21em';            note.textarea.style.height = '5em';            // matching the style of the page.            note.textarea.style.fontFamily = 'Arial, Helvetica, sans-serif';            note.textarea.style.fontSize = '12px';            note.textarea.appendChild(txt(note.text))            // want the author to appear on a separate line,            // if there is one.            textarea_span = elm('span');            textarea_span.appendChild( note.textarea );            if (note.author != ps_photo_character_id) {                textarea_span.appendChild(elm('br'));            }                        // swap note text for textarea            note.inner_text_td.replaceChild(textarea_span, note.inner_text_node);            /*var kids = note.text_div.childNodes;            for (var i = 0; i < kids.length; i++) {                if (kids[i].className == 'note_text') {                }            }*/                        var button =  elm("span");            button.href = '#';            css( button, {                'paddingLeft'   : '0.6em',                'paddingRight'  : '0.6em',                'paddingTop'    : '0.3em',                'paddingBottom' : '0.3em'            } );            var make_button = function(text, onclick, className) {                var b = button.cloneNode(false);                b.onclick = onclick;                b.className = className;                 b.appendChild( txt( text ) );                return b;            }                        var save_button = make_button('SAVE', note.save_new_text, 'Butt');            var cancel_button = make_button('CANCEL', remake_notes, 'DeleteButt');            var delete_button = make_button('DELETE', note.del, 'DeleteButt');                       buttons_div = elm('div');            css( buttons_div, {                'position'     : 'relative',                'marginTop'    : '0.75em',                'marginBottom' : '0.5em'            } );            buttons_div.appendChild(save_button);            buttons_div.appendChild(txt(' '));            buttons_div.appendChild(cancel_button);            buttons_div.appendChild(txt(' '));            buttons_div.appendChild(delete_button);            note.inner_text_td.appendChild(buttons_div);        };
meta: 610	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/610/6bf75854a8e573adfddc1e826d412a2aeafa1306/lickr.user.js/buggy/lickr.user.js