Kaynağa Gözat

renaming insertRows in generateRegistration not to be confused with insertRow from crfVisit

Andrej Studen 2 yıl önce
ebeveyn
işleme
1e6cf9830e
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4 4
      web/crfTecant/generateRegistration.js

+ 4 - 4
web/crfTecant/generateRegistration.js

@@ -1,4 +1,4 @@
-function selectRows(cb){
+function grSelectRows(cb){
    this.config.print(this.fName+": selectRows");
    let xRows=new Object();
    let gObj=this;
@@ -10,7 +10,7 @@ function selectRows(cb){
    this.config.print(this.fName+": selectRows completed");
 }
 
-function insertRows(rows){
+function grInsertRows(rows){
    this.config.print(this.fName+": insertRows");
    let iRows=new Object();
    let gObj=this;
@@ -108,8 +108,8 @@ function inspect(){
 function getGenerationObject(config,qPar,outputId){
    let gObj=new Object();
    gObj.config=config;
-   gObj.insertRows=insertRows;
-   gObj.selectRows=selectRows;
+   gObj.insertRows=grInsertRows;
+   gObj.selectRows=grSelectRows;
    gObj.zeroPad=zeroPad;
    gObj.findFirstAvailableKey=findFirstAvailableKey;
    gObj.generateObjectAtKey=generateObjectAtKey;