Selaa lähdekoodia

Adding label to role selector

Andrej Studen 1 vuosi sitten
vanhempi
commit
c2dbbb07db
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      web/crf/crfRoleSelector.js

+ 2 - 2
web/crf/crfRoleSelector.js

@@ -50,10 +50,10 @@ function(cb=null){
    let table=crfHTML.createTable('formDiv');
    let row=table.insertRow();
    let cell=row.insertCell();
-   this.roleSelect=crfHTML.createSelect(options,null,cell);
+   this.roleLabel=crfHTML.createTextNode('Please select role and site',null,cell);
    row=table.insertRow();
    cell=row.insertCell();
-   this.roleLabel=crfHTML.createTextNode('Please select option',null,cell);
+   this.roleSelect=crfHTML.createSelect(options,null,cell);
    let that=this;
    this.roleSelect.onchange=function(){that.onChange(cb);}
 }