[zanata/zanata-platform] 794f77: fix(suggestions): prevent background suggestion se...
GitHub
noreply at github.com
Fri Feb 24 03:42:29 UTC 2017
Branch: refs/heads/ZNTA-1732-editorsidebar
Home: https://github.com/zanata/zanata-platform
Commit: 794f771ab16402fcef937e2a85fe504fbc554c8e
https://github.com/zanata/zanata-platform/commit/794f771ab16402fcef937e2a85fe504fbc554c8e
Author: David Mason <drdmason at gmail.com>
Date: 2017-02-24 (Fri, 24 Feb 2017)
Changed paths:
M server/zanata-frontend/src/editor/app/actions/suggestions.js
Log Message:
-----------
fix(suggestions): prevent background suggestion search when no phrase is suggested
The editor waits for a phrase to load so that it can run a suggestion search, but
was waiting for the phrase for id 'undefined' to load whenever no phrase is selected,
then printing an error after 10 seconds.
More information about the zanata-commits
mailing list