tweak on last commit

This commit is contained in:
Anthony Minessale
2014-07-12 04:17:41 +05:00
parent fd9d77feee
commit 3b1113a50e
2 changed files with 19 additions and 14 deletions

View File

@@ -1268,6 +1268,22 @@
}
var row_callback = null;
if (confMan.params.laData.role === "moderator") {
row_callback = function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
if (!aData[5]) {
var $row = $('td:eq(5)', nRow);
genControls($row, aData);
if (confMan.params.onLaRow) {
confMan.params.onLaRow(verto, confMan, $row, aData);
}
}
};
}
confMan.lt = new $.verto.liveTable(verto, confMan.params.laData.laChannel, confMan.params.laData.laName, $(confMan.params.tableID), {
subParams: {
callID: confMan.params.dialog ? confMan.params.dialog.callID : null
@@ -1316,19 +1332,7 @@
"sEmptyTable": "The Conference is Empty....."
},
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
if (!aData[5]) {
var $row = $('td:eq(5)', nRow);
genControls($row, aData);
if (confMan.params.onLaRow) {
confMan.params.onLaRow(verto, confMan, $row, aData);
}
}
},
"fnRowCallback": row_callback
});
}