@@ -161,7 +161,7 @@ function parseData2(data) {
161161 } ) ;
162162 selectedGUIDs . forEach ( guid => { console . log ( 'Added ' + guid ) ; } ) ;
163163 // do something with the ID of the selected items
164- tables . filter ( function ( curTable ) { return curTable !== userDataTable } ) . forEach ( table => { table . draw ( false ) } ) ;
164+ tables . filter ( function ( curTable ) { return curTable !== userDataTable } ) . forEach ( table => { table . draw ( ) } ) ;
165165 }
166166 } ) ;
167167 }
@@ -269,7 +269,7 @@ function parseData2(data) {
269269 selectedGUIDs . push ( element . dataset . guid )
270270 } ) ;
271271 selectedGUIDs . forEach ( guid => { console . log ( 'Added ' + guid ) ; } ) ;
272- tables . filter ( function ( curTable ) { return curTable !== codeDataTable } ) . forEach ( table => { table . draw ( false ) } ) ;
272+ tables . filter ( function ( curTable ) { return curTable !== codeDataTable } ) . forEach ( table => { table . draw ( ) } ) ;
273273 }
274274 } ) ;
275275 }
@@ -364,7 +364,7 @@ function parseData2(data) {
364364 selectedGUIDs = new Array ( ) ;
365365 annotationDataTable . rows ( { selected : true } ) . nodes ( ) . to$ ( ) . each ( function ( index , element ) { selectedGUIDs . push ( element . dataset . guid ) } ) ;
366366 selectedGUIDs . forEach ( guid => { console . log ( 'Added ' + guid ) ; } ) ;
367- tables . filter ( function ( curTable ) { return curTable !== annotationDataTable } ) . forEach ( table => { table . draw ( false ) } ) ;
367+ tables . filter ( function ( curTable ) { return curTable !== annotationDataTable } ) . forEach ( table => { table . draw ( ) } ) ;
368368 }
369369 } ) ;
370370 }
@@ -403,7 +403,7 @@ function parseData2(data) {
403403 selectedGUIDs = new Array ( ) ;
404404 sourceDataTable . rows ( { selected : true } ) . nodes ( ) . to$ ( ) . each ( function ( index , element ) { selectedGUIDs . push ( element . dataset . guid ) } ) ;
405405 selectedGUIDs . forEach ( guid => { console . log ( 'Added ' + guid ) ; } ) ;
406- tables . filter ( function ( curTable ) { return curTable !== sourceDataTable } ) . forEach ( table => { table . draw ( false ) } ) ;
406+ tables . filter ( function ( curTable ) { return curTable !== sourceDataTable } ) . forEach ( table => { table . draw ( ) } ) ;
407407 }
408408 } ) ;
409409 }
@@ -462,7 +462,7 @@ function parseData2(data) {
462462 noteDataTable . rows ( { selected : true } ) . nodes ( ) . to$ ( ) . each ( function ( index , element ) { selectedGUIDs . push ( element . dataset . guid ) } ) ;
463463 selectedGUIDs . forEach ( guid => { console . log ( 'Added ' + guid ) ; } ) ;
464464 // do something with the ID of the selected items
465- tables . filter ( function ( curTable ) { return curTable !== noteDataTable } ) . forEach ( table => { table . draw ( false ) } ) ;
465+ tables . filter ( function ( curTable ) { return curTable !== noteDataTable } ) . forEach ( table => { table . draw ( ) } ) ;
466466 }
467467 } ) ;
468468 }
@@ -520,7 +520,7 @@ function parseData2(data) {
520520 setDataTable . rows ( { selected : true } ) . nodes ( ) . to$ ( ) . each ( function ( index , element ) { selectedGUIDs . push ( element . dataset . guid ) } ) ;
521521 selectedGUIDs . forEach ( guid => { console . log ( 'Added ' + guid ) ; } ) ;
522522 // do something with the ID of the selected items
523- tables . filter ( function ( curTable ) { return curTable !== setDataTable } ) . forEach ( table => { table . draw ( false ) } ) ;
523+ tables . filter ( function ( curTable ) { return curTable !== setDataTable } ) . forEach ( table => { table . draw ( ) } ) ;
524524 }
525525 } ) ;
526526 }
@@ -609,7 +609,7 @@ $("#filterby")
609609 select : $ ( '#filterby' ) . val ( ) == 'Users' ,
610610 order : [ [ 0 , 'asc' ] ]
611611 } ) ;
612- userDataTable . draw ( 'page' ) ;
612+ userDatatable . draw ( ) ;
613613 }
614614
615615
@@ -662,7 +662,7 @@ $("#filterby")
662662 ] ;
663663 }
664664 codeDataTable = new DataTable ( ".codetable" , codeConfig ) ;
665- codeDataTable . draw ( 'page' ) ;
665+ codeDatatable . draw ( ) ;
666666 }
667667
668668 // Destroy and recreate sourceDataTable
@@ -673,7 +673,7 @@ $("#filterby")
673673 sourceDataTable = new DataTable ( ".sourcetable" , {
674674 select : $ ( '#filterby' ) . val ( ) == 'Sources'
675675 } ) ;
676- sourceDataTable . draw ( 'page' ) ;
676+ sourceDatatable . draw ( ) ;
677677 }
678678
679679 // Destroy and recreate annotationDataTable
@@ -684,7 +684,7 @@ $("#filterby")
684684 annotationDataTable = new DataTable ( ".annotationtable" , {
685685 select : $ ( '#filterby' ) . val ( ) == 'Annotations'
686686 } ) ;
687- annotationDataTable . draw ( 'page' ) ;
687+ annotationDatatable . draw ( ) ;
688688 }
689689
690690 // Destroy and recreate noteDataTable
@@ -695,7 +695,7 @@ $("#filterby")
695695 noteDataTable = new DataTable ( ".notetable" , {
696696 select : $ ( '#filterby' ) . val ( ) == 'Notes'
697697 } ) ;
698- noteDataTable . draw ( 'page' ) ;
698+ noteDatatable . draw ( ) ;
699699 }
700700
701701 // Destroy and recreate setDataTable
@@ -706,7 +706,7 @@ $("#filterby")
706706 setDataTable = new DataTable ( ".settable" , {
707707 select : $ ( '#filterby' ) . val ( ) == 'Sets'
708708 } ) ;
709- setDataTable . draw ( 'page' ) ;
709+ setDatatable . draw ( ) ;
710710 }
711711 } ) ;
712712 } ) ;
0 commit comments