Skip to content

Commit

Permalink
Don't call toUpperCase() on column names in Inspect1 (leave them be)
Browse files Browse the repository at this point in the history
Don't have hover-over effect on ToFactor/ToInt custom css
  • Loading branch information
spennihana committed Mar 11, 2014
1 parent 8af9124 commit a57c97e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/resources/h2o/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ body {
.btn-custom {
border-radius: 5px;
padding: 0px 12px;
background-color: hsl(193, 25%, 82%) !important;
background-color: #D9EDF7 !important;
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#D9EDF7", endColorstr="#D9EDF7");
background-image: -khtml-gradient(linear, left top, left bottom, from(#D9EDF7), to(#D9EDF7));
Expand Down
5 changes: 4 additions & 1 deletion src/main/java/water/api/RequestStatics.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ public String requestName(String requestUrl) {
*/
public static String JSON2HTML(String name) {
if( name.length() < 1 ) return name;
return name.substring(0,1).toUpperCase()+name.replace("_"," ").substring(1);
if(name == "row") {
return name.substring(0,1).toUpperCase()+ name.replace("_"," ").substring(1);
}
return name.substring(0,1)+name.replace("_"," ").substring(1);
}

public static String Str2JSON( String x ) {
Expand Down

0 comments on commit a57c97e

Please sign in to comment.