Skip to content

Commit 58cb8fb

Browse files
committed
Replaced "desc" attribute with "javaxt-" css class.
1 parent 23e3608 commit 58cb8fb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/button/Button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ javaxt.dhtml.Button = function(parent, config) {
201201

202202
//Create outer div used to hold the button, mask, and menu
203203
var outerDiv = createElement('div', parent);
204-
outerDiv.setAttribute("desc", me.className);
204+
outerDiv.className = "javaxt-button";
205205
outerDiv.style.display = config.display;
206206
if (config.width){
207207
if (typeof config.width === "string"){

src/form/Form.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ javaxt.dhtml.Form = function (parent, config) {
200200
margin: 0,
201201
height: "100%"
202202
});
203-
form.setAttribute("desc", me.className);
203+
form.className = "javaxt-form";
204204
if (config.onsubmit) form.onsubmit = config.onsubmit;
205205
else{
206206
form.onsubmit = function(e){
@@ -1116,7 +1116,7 @@ javaxt.dhtml.Form = function (parent, config) {
11161116
}
11171117
}
11181118
input.onChange = function(){
1119-
me.onChange(formInput, input.getValue());
1119+
me.onChange(formInput, formInput.getValue());
11201120
};
11211121
}
11221122
}

0 commit comments

Comments
 (0)