views:

155

answers:

1

How can I have a dojo InlineTextBox that has autoSave="false" but saves changed text if the user hits the enter key? Is it possible to have the 'save' and 'cancel' buttons and the save on enter behavior of autoSave='true'?

+2  A: 

Sorry, there's no good way to do that now.

Of course you could edit the source code; this.autoSave is referenced in two places and it should be clear which one is for the enter key behavior... but that's a janky solution.

Bill Keese