X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fhazelnut%2Fhazelnut.js;h=b1c095cb1bb5b263724e9c7fb7879397507ae2fa;hb=ee1403fe15f21c08fcd97f770f64ef44122e2c23;hp=2f7ec5ea1bb18333804716d2fadbdc4ca1256c17;hpb=0c6de66411d990fcd28278ec396456203acef805;p=unfold.git diff --git a/plugins/hazelnut/hazelnut.js b/plugins/hazelnut/hazelnut.js index 2f7ec5ea..b1c095cb 100644 --- a/plugins/hazelnut/hazelnut.js +++ b/plugins/hazelnut/hazelnut.js @@ -15,7 +15,7 @@ (function($){ var debug=false; - debug=true +// debug=true // routing calls $.fn.Hazelnut = function( method ) { @@ -131,7 +131,7 @@ // sScrollX: '100%', /* Horizontal scrolling */ bProcessing: true, /* Loading */ fnRowCallback: function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) { - $(nRow).attr('id', get_value(aData[3])); + $(nRow).attr('id', unfold.get_value(aData[3])); return nRow; }, fnDrawCallback: function() { hazelnut_draw_callback.call(object, options); } @@ -277,11 +277,11 @@ if (rows.length==0) { if (debug) console.l ("empty result"); - this.table.html(errorDisplay("No Result")); + this.table.html(unfold.errorDisplay("No Result")); return; } else if (typeof(rows[0].error) != 'undefined') { if (debug) console.log ("undefined result"); - this.table.html(errorDisplay(rows[0].error)); + this.table.html(unfold.errorDisplay(rows[0].error)); return; } newlines = new Array(); @@ -339,8 +339,8 @@ this.checkbox = function (plugin_uuid, header, field, selected_str, disabled_str) { var result=""; /* Prefix id with plugin_uuid */ - result += "