Revert "ChangeScreen2: Auto-focus to submit button"
This reverts commit ba41a83819.
Users do not like the auto-focus on submit. The button is too
dangerous to be clicked because code might actually land into
the project after being reviewed and approved.
Change-Id: Ia60b22b4e8f0fd607f44657572b4c7dabdb73352
			
			
This commit is contained in:
		| @@ -493,7 +493,7 @@ public class Dispatcher { | ||||
|     if (rest.isEmpty()) { | ||||
|       Gerrit.display(token, panel== null | ||||
|           ? (isChangeScreen2() | ||||
|               ? new ChangeScreen2(id, null, null, false, false) | ||||
|               ? new ChangeScreen2(id, null, null, false) | ||||
|               : new ChangeScreen(id)) | ||||
|           : new NotFoundScreen()); | ||||
|       return; | ||||
| @@ -530,7 +530,7 @@ public class Dispatcher { | ||||
|                 base != null | ||||
|                     ? String.valueOf(base.get()) | ||||
|                     : null, | ||||
|                 String.valueOf(ps.get()), false, false) | ||||
|                 String.valueOf(ps.get()), false) | ||||
|             : new ChangeScreen(id)); | ||||
|       } else if ("publish".equals(panel)) { | ||||
|         publish(ps); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Shawn Pearce
					Shawn Pearce