Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Fix input field not save when using same text as placeholder: https://bu... #675

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -248,13 +248,12 @@ private void persistPropertiesToDatabase(List<PropertyWithKey<String>> propertie
}

private void persistPropertyToDatabase(PropertyWithKey<String> property) {
HApplicationConfiguration registerUrlValue =
applicationConfigurationDAO
HApplicationConfiguration value = applicationConfigurationDAO
.findByKey(property.getKey());
try {
ServerConfigurationService.persistApplicationConfig(
property.getKey(),
registerUrlValue, property.get(), applicationConfigurationDAO);
property.getKey(), value, property.get(),
applicationConfigurationDAO);
} catch (IllegalAccessException e) {
e.printStackTrace();
} catch (NoSuchMethodException e) {
Expand Down
4 changes: 2 additions & 2 deletions zanata-war/src/main/resources/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -895,11 +895,11 @@ jsf.Warning=Warning
! Piwik is the name of a tool, it should not be translated
jsf.config.Piwik=Piwik
jsf.config.Piwiktooltip=Piwik analytic tools
jsf.config.Piwik.url.placeholder=http://localhost/piwik
jsf.config.Piwik.url.placeholder=http://example/piwik
jsf.config.PiwikIdSite.placeholder=Id in Piwik
jsf.config.TermsOfUseUrl=Terms of Use URL
jsf.config.TermsOfUseUrltooltip=The URL for terms of use statement
jsf.config.term.url.placeholder=http://zanata.org/terms
jsf.config.term.url.placeholder=http://example/terms
jsf.config.client=Client
jsf.config.MaxConcurrentRequestsPerApiKey=Max concurrent requests per API key
jsf.config.MaxConcurrentRequestsPerApiKeytooltip=Max concurrent requests per API key. Once over the limit server will return status code 403. 0 means no limit. Default(blank) is 6.
Expand Down