Open GoogleCodeExporter opened 8 years ago
I add in line 377:
this.restoreOriginalValue();
handleCancelEditor: function(anEvent) {
// REFACT: remove duplication between save and cancel
this.restoreOriginalValue();
if (false === this.triggerDelegateCall('shouldCloseEditInPlace', true, anEvent))
return;
var enteredText = this.dom.find(':input').val();
enteredText = this.triggerDelegateCall('willCloseEditInPlace', enteredText);
this.restoreOriginalValue();
if (hasContent(enteredText)
&& ! this.isDisabledDefaultSelectChoice())
this.setClosedEditorContent(enteredText);
this.reinit();
}
Original comment by nowicki....@gmail.com
on 29 Apr 2011 at 10:48
[deleted comment]
Thanks, nowicki. Your fix gives expected behavior and keeps my UI in sync with
my database.
-John
Original comment by johnmhol...@gmail.com
on 21 Jun 2011 at 4:40
Tested and working in:
* Linux - FF 10.0.1, Chrome 18.0.1025.142
* Windows XP - IE 8.0.6001.18702, FF 11
Without this fix, ESC does not work in FF 10.0.1 on Linux.
Original comment by dave.jar...@gmail.com
on 14 Apr 2012 at 11:12
Hi,
I just want to thank nowicki for his code.
I had the same problem and nowicki's code fixed it.
Thank you
regards
Original comment by Andrea.W...@gmail.com
on 4 Nov 2014 at 9:24
Original issue reported on code.google.com by
jtre...@gmail.com
on 27 Jul 2010 at 5:11Attachments: