diff --git a/app/static/admin/pages/scripts/table-editable.js b/app/static/admin/pages/scripts/table-editable.js index 88c668b..f253bc5 100644 --- a/app/static/admin/pages/scripts/table-editable.js +++ b/app/static/admin/pages/scripts/table-editable.js @@ -22,9 +22,14 @@ var TableEditable = function () { function editRow(oTable, nRow) { var aData = oTable.fnGetData(nRow); var jqTds = $('>td', nRow); + var record_types = ""; + for(var i = 0; i < records_allow_edit.length; i++) { + var record_type = records_allow_edit[i]; + record_types += ""; + } jqTds[0].innerHTML = ''; //jqTds[1].innerHTML = ''; - jqTds[1].innerHTML = ''; + jqTds[1].innerHTML = ''; jqTds[2].innerHTML = ''; jqTds[3].innerHTML = ''; jqTds[4].innerHTML = ''; @@ -302,4 +307,4 @@ var TableEditable = function () { }; -}(); \ No newline at end of file +}(); diff --git a/app/templates/domain.html b/app/templates/domain.html index 274feb6..eb33cf6 100644 --- a/app/templates/domain.html +++ b/app/templates/domain.html @@ -185,7 +185,8 @@