nCloneTh.innerHTML = '<b>Info</b>';
nCloneTd.className = "center";
nCloneTh.className = "center";
nCloneTh.innerHTML = '<b>Info</b>';
nCloneTd.className = "center";
nCloneTh.className = "center";
- // XXX
- jQuery('#'+this.options.plugin_uuid+'_fields thead tr').each( function () {
- this.insertBefore( nCloneTh, this.childNodes[0] );
+ this.el('table thead tr').each(function() {
+ this.insertBefore(nCloneTh, this.childNodes[0]);
- // XXX
- jQuery('#'+this.options.plugin_uuid+'_fields tbody tr').each( function () {
- this.insertBefore( nCloneTd.cloneNode( true ), this.childNodes[0] );
+ this.el('table tbody tr').each(function() {
+ this.insertBefore(nCloneTd.cloneNode( true ), this.childNodes[0]);