[DEMO] automatic saving of draft comments

Jan Heylen heyleke at gmail.com
Sun May 17 01:43:14 EDT 2015


by the way: the edit button is gone for the moment, but if I would get the
cancel button fixed for firefox (probably not :-( ... )I was planning to
add editable drafts (so the edit button edits your draft comments)

Jan

On Sat, May 16, 2015 at 2:13 PM, Jan Heylen <heyleke at gmail.com> wrote:

> correction:
>
> and a demo/code on this blur demo here:
>
> http://heyleke.pythonanywhere.com/kallithea-heyleke/changeset/28a2bd5250ba1bb26d9a09b51c95e1e07bab6ff3
> (login: test pass: testtest)
>
> Jan
>
> On Sat, May 16, 2015 at 2:11 PM, Jan Heylen <heyleke at gmail.com> wrote:
>
>> Hi,
>>
>> as a 'bonus' on the draft workflow, I wanted to change the way comments
>> are "edited", I found this javascript event "blur", but I'm having issues
>> with it because in firefox, the relatedTarget object is always NULL on a
>> BLUR event, while on other browsers, this points to the object that gets
>> the focus (e.g. the cancel button)
>>
>> You can see the difference in browser behavior here:
>> http://people.mozilla.org/~ayang/687787/focusin_out.html
>>
>> and a demo/code on this blur demo here:
>>
>> http://heyleke.pythonanywhere.com/kallithea-heyleke/changeset/28a2bd5250ba1bb26d9a09b51c95e1e07bab6ff3
>> (login: test pass: test)
>>
>> br,
>>
>> Jan
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20150517/fb27e27a/attachment.html>


More information about the kallithea-general mailing list