[Commits] svn commit: 10237

www-data www-data at thor.atrc.utoronto.ca
Sat Nov 13 18:26:00 UTC 2010


------------------------------------------------------------------------
r10237 | jobara | 2010-11-13 13:26:00 -0500 (Sat, 13 Nov 2010) | 1 line
Changed paths:
   M /fluid/infusion/trunk/src/webapp/components/inlineEdit/js/InlineEdit.js
   M /fluid/infusion/trunk/src/webapp/components/inlineEdit/js/InlineEditIntegrations.js
   M /fluid/infusion/trunk/src/webapp/demos/inlineEdit/simple/html/inlineEdit.html
   M /fluid/infusion/trunk/src/webapp/demos/inlineEdit/simple/js/inlineEdit.js
   M /fluid/infusion/trunk/src/webapp/tests/component-tests/inlineEdit/js/InlineEditTests.js

FLUID-2652, FLUID-3801, FLUID-3757: Fixed a bug where on instantiation of inlineEdit, the textEditButton did not get the correct text assigned. This was due to the model being setup after the initial call to set the text on the button. Fixed a bug in the unit tests which would have caught this error. Added logic to update the button with the defaultViewText if the field is empty, and added a unit test for this functionality.  Also changed the defaultViewText for rich text inlineEdit to be "Click Edit" as the old message didn't make sense since you now have to click an explicit edit button to edit the text. For the new simple demo, changed the "Untitled" text from being in the markup to being the defaultViewText. Lastly I linted the unit test file. Hopefully I didn't add any new bugs with any of these changes.
------------------------------------------------------------------------



More information about the Commits mailing list