Console: Consolidate "checked" code

This commit is contained in:
zzz
2015-12-18 14:43:31 +00:00
parent 8226e92973
commit c59496f30f
9 changed files with 34 additions and 42 deletions

View File

@ -103,8 +103,7 @@ public class HomeHelper extends HelperBase {
}
public String getConfigHome() {
boolean oldHome = _context.getBooleanProperty(PROP_OLDHOME);
return oldHome ? "checked=\"checked\"" : "";
return getChecked(PROP_OLDHOME);
}
public String getProxyStatus() {