mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
removes unnecessary debugging prints
This commit is contained in:
@@ -628,7 +628,6 @@ var FHC_TableWidget = {
|
||||
*/
|
||||
if (typeof options.tableWidgetFooter != 'undefined' && options.tableWidgetFooter != null)
|
||||
{
|
||||
console.log("this are the options i am intereseted in:",options)
|
||||
var tabulatorFooterHTML = _renderTabulatorFooterHTML(options.tableWidgetFooter);
|
||||
tableWidgetDiv.find('#tableWidgetFooter').append(tabulatorFooterHTML);
|
||||
}
|
||||
@@ -706,7 +705,7 @@ var FHC_TableWidget = {
|
||||
_getRepresentationOptions: function(data) {
|
||||
|
||||
var options = {}; // eventually contains options fot the representation
|
||||
console.log("here is the data before it was parsed",data.datasetRepresentationOptions)
|
||||
|
||||
// Checks if options were given
|
||||
if (data.hasOwnProperty("datasetRepresentationOptions") && data.datasetRepresentationOptions != "")
|
||||
{
|
||||
@@ -924,7 +923,7 @@ function _renderTabulatorHeaderCollapseHTML(tableWidgetDiv,arrayTabulatorColumns
|
||||
function _renderTabulatorFooterHTML(tableWidgetFooterOptions){
|
||||
|
||||
var tabulatorFooterHTML = '';
|
||||
console.log("footer options",tableWidgetFooterOptions)
|
||||
|
||||
// If property selectButtons is true, render 'Alle auswaehlen / Alle abwaehlen' buttons
|
||||
if (typeof tableWidgetFooterOptions.selectButtons != 'undefined' && tableWidgetFooterOptions.selectButtons == true)
|
||||
{
|
||||
|
||||
@@ -167,7 +167,6 @@ function func_rowFormatter(row){
|
||||
|
||||
// Formats row selectable/unselectable
|
||||
function func_selectableCheck(row){
|
||||
console.log("entered here in selectable check")
|
||||
let status_kurzbz = row.getData().status_kurzbz;
|
||||
|
||||
return (
|
||||
|
||||
+11
-21
@@ -38,27 +38,17 @@
|
||||
this.table = new Tabulator(this.element[0], options);
|
||||
window.table = this.table;
|
||||
|
||||
console.log(this.table);
|
||||
props = Object.getOwnPropertyNames(Object.getPrototypeOf(Object.getPrototypeOf(this.table)));
|
||||
props = props.concat(Object.getOwnPropertyNames(this.table));
|
||||
console.log(props);
|
||||
|
||||
const that = this;
|
||||
this.table.on("tableBuilt", function(){
|
||||
console.log('bhbuilt begin');
|
||||
console.log(this);
|
||||
props = Object.getOwnPropertyNames(Object.getPrototypeOf(Object.getPrototypeOf(this)));
|
||||
props = props.concat(Object.getOwnPropertyNames(this));
|
||||
for(let key of props){
|
||||
if( key === 'download' ) console.log('download: ' + typeof this[key]);
|
||||
if(typeof this[key] === "function" && key.charAt(0) !== "_"){
|
||||
that[key] = this[key].bind(this);
|
||||
}
|
||||
}
|
||||
console.log(props);
|
||||
console.log('bhbuilt end');
|
||||
$(document).trigger("tableInit",[this]);
|
||||
});
|
||||
const that = this;
|
||||
this.table.on("tableBuilt", function(){
|
||||
props = Object.getOwnPropertyNames(Object.getPrototypeOf(Object.getPrototypeOf(this)));
|
||||
props = props.concat(Object.getOwnPropertyNames(this));
|
||||
for(let key of props){
|
||||
if(typeof this[key] === "function" && key.charAt(0) !== "_"){
|
||||
that[key] = this[key].bind(this);
|
||||
}
|
||||
}
|
||||
$(document).trigger("tableInit",[this]);
|
||||
});
|
||||
|
||||
//retrieve properties on prototype
|
||||
props = Object.getOwnPropertyNames(Object.getPrototypeOf(Object.getPrototypeOf(this.table)));
|
||||
|
||||
Reference in New Issue
Block a user