[Sugar-devel] [PATCH] add update to keep callback to prevent data loss

Simon Schampijer simon at schampijer.de
Fri Jun 24 08:35:03 EDT 2011


On 06/22/2011 01:57 PM, Walter Bender wrote:
> From: Walter Bender<walter.bender at gmail.com>
>
> Patch to fix data loss problem with keep button
>
> "clicking star causes newly typed description to disappear"
> (http://bugs.sugarlabs.org/ticket/2926)

Thanks Walter for the patch. The issue is that clicking on the keep 
button does not trigger a focus out event which would have saved the 
metadata of the description field.

Based on your idea I moved the write of the favorite icon to 
'_update_entry'. I hope this makes it a bit clearer and we only trigger 
one write, patch attached. Let me know what you think.

Regards,
    Simon
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Journal-detail-view-sync-updates-of-elements-SL-2926.patch
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110624/5ec83220/attachment.ksh>


More information about the Sugar-devel mailing list