Bug 820825

Summary: need to click Save as Fuzzy/Save as approved twice to save translation
Product: [Retired] Zanata Reporter: Joyce Chang <jochang>
Component: Component-UIAssignee: Alex Eng <aeng>
Status: CLOSED CURRENTRELEASE QA Contact: Joyce Chang <jochang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.6-SNAPSHOTCC: pahuang, petersen, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: 1.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Zanata version 1.6.0-beta-2-SNAPSHOT (20120530-0019). Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-22 00:58:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joyce Chang 2012-05-11 05:11:46 UTC
Description of problem:
When saving translation on a empty target entry,Save as Fuzzy/Save as approved buttons now would work only when you click it twice. 


Version-Release number of selected component (if applicable):
1.6.0-alpha-3

How reproducible:
always


Steps to Reproduce:
1.visit a project with no translation at all 
2.type some stuff on 1st target entry 
3.click Save as Fuzzy and clicking it again
4.type some stuff on 2nd target entry 
5.click Save as Approved and click it again
  
Actual results:
translation gets to saved on the second click

Expected results:
translation gets to saved on the first click


Additional info:
Ctrl+S,Ctrl+enter behave properly

Comment 1 Patrick Huang 2012-05-29 05:35:59 UTC
committed in master:
https://github.com/zanata/zanata/commit/68338a1d85b99a61b53938a8bf19848d195814f4

Comment 2 Joyce Chang 2012-05-30 03:58:56 UTC
verified in Zanata version 1.6.0-beta-2-SNAPSHOT (20120530-0019).