Red Hat Bugzilla – Bug 895881
'Restore Defaults' in editor options does not properly restore defaults
Last modified: 2015-07-21 22:19:37 EDT
Description of problem:
'Restore Defaults' button in editor options works properly for some options, but not for others. CodeMirror Editor and Page Size options appear to be restored to default but the restored settings are not applied. Spell Check and Optional Trans Unit Details options are not affected by Restore Defaults.
Version-Release number of selected component (if applicable):
2.1 (release candidate)
Steps to Reproduce:
1.Open editor with any document that has more than 5 text flows
2.Change all editor options from their default state, setting page size to 5.
3.Click 'Restore Defaults'
Page size option shows 25, but only 5 entries are shown in the editor table, codemirror editor option is not checked but codemirror editor is still shown, spell check and optional trans unit detail options are not in their default state. All other options are in their default state.
All options are in their default state and the options are applied in the editor.
Tested 3.5.0-SNAPSHOT (git-server-3.4.2-201-ge0afdde), still an issue
VERIFIED with Zanata 3.7.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-3294)