CC-3174 : showbuilder
removing unecessary things from the events.
This commit is contained in:
parent
6da4397a96
commit
7f9b497816
2 changed files with 11 additions and 34 deletions
|
@ -6,22 +6,15 @@ function fnLibraryTableRowCallback( nRow, aData, iDisplayIndex, iDisplayIndexFul
|
|||
|
||||
//save some info for reordering purposes.
|
||||
jRow.data({"aData": aData});
|
||||
|
||||
return nRow;
|
||||
}
|
||||
|
||||
function fnLibraryTableDrawCallback() {
|
||||
addLibraryItemEvents();
|
||||
}
|
||||
|
||||
function addLibraryItemEvents() {
|
||||
|
||||
$('#library_display tr:not(:first)')
|
||||
.draggable({
|
||||
helper: 'clone',
|
||||
cursor: 'pointer',
|
||||
connectToSortable: '#show_builder_table'
|
||||
});
|
||||
|
||||
$('#library_display tr:not(:first)').draggable({
|
||||
helper: 'clone',
|
||||
cursor: 'pointer',
|
||||
connectToSortable: '#show_builder_table'
|
||||
});
|
||||
}
|
||||
|
||||
function setupLibraryToolbar() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue