Re: [DEMO] automatic saving of draft comments

2015-05-25 Thread Jan Heylen
If we keep input boxes instead of showing the preview, it might work well, and the issue with the cancel button might disappear by itself, I'll have a proper look at you comments and update the patches and demo where applicable Jan On May 26, 2015 1:48 AM, "Mads Kiilerich" wrote: > On 05/25/2015

Re: [DEMO] automatic saving of draft comments

2015-05-25 Thread Mads Kiilerich
On 05/25/2015 09:57 PM, Thomas De Schampheleire wrote: On May 25, 2015 9:41:12 PM CEST, Mads Kiilerich wrote: On 05/25/2015 10:06 AM, Jan Heylen wrote: Any comments? I don't understand the references to "blur". What problem do you think it would or wouldn't solve? Blur is the opposite of fo

Re: [DEMO] automatic saving of draft comments

2015-05-25 Thread Thomas De Schampheleire
On May 25, 2015 9:41:12 PM CEST, Mads Kiilerich wrote: >On 05/25/2015 10:06 AM, Jan Heylen wrote: >> >> Any comments? >> > >I don't understand the references to "blur". What problem do you think >it would or wouldn't solve? Blur is the opposite of focus: the event of leaving an input element. ht

Re: [DEMO] automatic saving of draft comments

2015-05-25 Thread Mads Kiilerich
On 05/25/2015 10:06 AM, Jan Heylen wrote: Any comments? I don't understand the references to "blur". What problem do you think it would or wouldn't solve? For the general demo, I think the UI as it is would be a regression. The color emphasis of drafts do not seem efficient to me. I woul

Re: [DEMO] automatic saving of draft comments

2015-05-25 Thread Jan Heylen
Any comments? Br , Jan On May 16, 2015 2:13 PM, "Jan Heylen" 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, 201

Re: [DEMO] automatic saving of draft comments

2015-05-16 Thread Jan Heylen
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 wrote: > correction: > > and a d

Re: [DEMO] automatic saving of draft comments

2015-05-16 Thread Jan Heylen
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 wrote: > Hi, > > as a 'bonus' on the draft workflow, I wanted

[DEMO] automatic saving of draft comments

2015-05-16 Thread Jan Heylen
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 th