openmct/platform/commonUI/browse/test
Pegah Sarram 715219c44d [Edit] Fix the issue with currentTarget being null and HTML being added on Enter
Remove the line break that is added when the return key is pressed.

Check the current target directly.

Use textContent for inline editing instead of innerHTML, which will hoist up some HTML content implicitly created around user input for a contenteditable span.

Note that there is a removeAllRanges in addition to a blur here; see
https://stackoverflow.com/questions/4878713/how-can-i-blur-a-div-where-contenteditable-true

Fix broken tests.

Fixes #1757
2017-10-13 11:50:40 -07:00
..
navigation [Licenses] Update copyright year to 2017 2017-04-05 14:52:46 -07:00
windowing [Licenses] Update copyright year to 2017 2017-04-05 14:52:46 -07:00
BrowseControllerSpec.js [Licenses] Update copyright year to 2017 2017-04-05 14:52:46 -07:00
BrowseObjectControllerSpec.js [Licenses] Update copyright year to 2017 2017-04-05 14:52:46 -07:00
InspectorPaneControllerSpec.js Add functionality to allow users to add hideParameters to the url, which will hide tree and/or the inspector 2017-08-17 15:25:01 -07:00
InspectorRegionSpec.js [Licenses] Update copyright year to 2017 2017-04-05 14:52:46 -07:00
MenuArrowControllerSpec.js [Licenses] Update copyright year to 2017 2017-04-05 14:52:46 -07:00
ObjectHeaderControllerSpec.js [Edit] Fix the issue with currentTarget being null and HTML being added on Enter 2017-10-13 11:50:40 -07:00
PaneControllerSpec.js Add functionality to allow users to add hideParameters to the url, which will hide tree and/or the inspector 2017-08-17 15:25:01 -07:00