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

Commit

Permalink
Replaced getControlName() by getClientId() as the field in accessed i…
Browse files Browse the repository at this point in the history
…n javascript using getElementById()
  • Loading branch information
tawus committed Jul 31, 2011
1 parent 752f662 commit 6051eef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ subprojects {

}

test { useJUnit(); }
check.dependsOn testng

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ JSONObject fillArguments()
}

spec.put("element", getElementId());
spec.put("sizeField", getControlName());
spec.put("sizeField", getClientId());
spec.put("uploadText", messages.get("ajaxupload.upload-text"));
spec.put("dropText", messages.get("ajaxupload.drop-text"));
spec.put("cancelText", messages.get("ajaxupload.cancel-text"));
Expand Down

0 comments on commit 6051eef

Please sign in to comment.