Subversion Repositories f9daq

Rev

Rev 344 | Rev 347 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 344 Rev 345
Line 99... Line 99...
99
      step: 1,
99
      step: 1,
100
      value: 1,
100
      value: 1,
101
      slide: function( event, ui ) {
101
      slide: function( event, ui ) {
102
        $( "#polOrderDisplay" + sframe ).val(ui.value);
102
        $( "#polOrderDisplay" + sframe ).val(ui.value);
103
        updatePolParamList(ui.value, sframe);
103
        updatePolParamList(ui.value, sframe);
-
 
104
        var fName = genFunctionName(sframe);
-
 
105
        showFormula(fName, sframe);
104
        calculate(sframe);
106
        calculate(sframe);
105
      }
107
      }
106
    });
108
    });
107
    $( "#polOrderDisplay" + sframe ).val( $("#slider-polOrder"+sframe).slider("value") );
109
    $( "#polOrderDisplay" + sframe ).val( $("#slider-polOrder"+sframe).slider("value") );
108
    updatePolParamList($("#slider-polOrder"+sframe).slider("value"), sframe);
110
    updatePolParamList($("#slider-polOrder"+sframe).slider("value"), sframe);
Line 436... Line 438...
436
      funMatrix[k][i] = 0;
438
      funMatrix[k][i] = 0;
437
      document.getElementById(implementedFun[i]+"FitPanel"+sframe).style.display = "none";
439
      document.getElementById(implementedFun[i]+"FitPanel"+sframe).style.display = "none";
438
    }
440
    }
439
  }
441
  }
440
 
442
 
441
  fName = genFunctionName(sframe);
443
  var fName = genFunctionName(sframe);
442
  showFormula(fName, sframe);
444
  showFormula(fName, sframe);
443
  if((funMatrix[k][0]+funMatrix[k][1]+funMatrix[k][2]+funMatrix[k][3]) == 0){ alert("These are implemented functions:\n" + implementedFun.toString()) } //
445
  if((funMatrix[k][0]+funMatrix[k][1]+funMatrix[k][2]+funMatrix[k][3]) == 0){ alert("These are implemented functions:\n" + implementedFun.toString()) } //
444
}
446
}
445
 
447
 
446
function genFunctionName(sframe){
448
function genFunctionName(sframe){