[zanata/zanata-server] 05e91a: Ensure locales are enabled when their enable butto...

GitHub noreply at github.com
Mon Feb 2 07:12:21 UTC 2015


  Branch: refs/heads/locale-aliases-select-checkboxes
  Home:   https://github.com/zanata/zanata-server
  Commit: 05e91a7586ce9674f94ff2a819bb40d074436f33
      https://github.com/zanata/zanata-server/commit/05e91a7586ce9674f94ff2a819bb40d074436f33
  Author: David Mason <drdmason at gmail.com>
  Date:   2015-02-02 (Mon, 02 Feb 2015)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/action/ProjectHome.java
    M zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab.xhtml

  Log Message:
  -----------
  Ensure locales are enabled when their enable button is clicked.

This fixes a couple of bugs:

 - The wrong variable was being used, so that locales were not added
when the enable button was clicked.
 - There was a mistake in how custom locales were initiated when going
from global default locales to a custom list - the wrong method was
used so that all locales were added, rather than just the
enabled-by-default locales.




More information about the zanata-commits mailing list