CC-3174 : show builder

small modifications removing uneeded things.
This commit is contained in:
Naomi Aro 2012-02-02 23:58:36 +01:00
parent 7f9b497816
commit 11e7d813b6
1 changed files with 1 additions and 9 deletions

View File

@ -173,8 +173,6 @@ $(document).ready(function() {
$(nRow).addClass("sb-not-allowed");
}
}
return nRow;
};
fnRemoveSelectedItems = function() {
@ -201,8 +199,6 @@ $(document).ready(function() {
oTable = tableDiv.dataTable( {
"aoColumns": [
/* checkbox */ {"mDataProp": "checkbox", "sTitle": "<input type='checkbox' name='sb_cb_all'>", "sWidth": "15px"},
// /* scheduled id */{"mDataProp": "id", "sTitle": "id"},
// /* instance */{"mDataProp": "instance", "sTitle": "si_id"},
/* starts */{"mDataProp": "starts", "sTitle": "Airtime"},
/* ends */{"mDataProp": "ends", "sTitle": "Off Air"},
/* runtime */{"mDataProp": "runtime", "sTitle": "Runtime"},
@ -211,8 +207,6 @@ $(document).ready(function() {
/* album */{"mDataProp": "album", "sTitle": "Album"}
],
"asStripClasses": [ 'odd' ],
"bJQueryUI": true,
"bSort": false,
"bFilter": false,
@ -362,6 +356,7 @@ $(document).ready(function() {
//item was dragged in
if (origRow !== undefined) {
oItemData = origRow.data("aData");
origRow = undefined;
fnAdd();
}
//item was reordered.
@ -369,13 +364,10 @@ $(document).ready(function() {
oItemData = ui.item.data("aData");
fnMove();
}
origRow = undefined;
};
return {
placeholder: "placeholder show-builder-placeholder",
forceHelperSize: true,
forcePlaceholderSize: true,
items: 'tr:not(:first):not(.sb-header):not(.sb-footer):not(.sb-not-allowed):not(.sb-empty)',
receive: fnReceive,