Bug 12989: Fix JS error
inactive and active are not defined anymore. They should be removed. The filter is done with DataTables. Signed-off-by: Paola Rossi <paola.rossi@cineca.it> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
860ec0aec6
commit
8176c2f390
1 changed files with 0 additions and 4 deletions
|
@ -71,14 +71,10 @@ $(document).ready(function() {
|
||||||
$("#hide_inactive").click(function(e){
|
$("#hide_inactive").click(function(e){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
oTable.fnFilter( 1, 0 ); // Show only active=1
|
oTable.fnFilter( 1, 0 ); // Show only active=1
|
||||||
inactive.hide();
|
|
||||||
active.show();
|
|
||||||
});
|
});
|
||||||
$("#show_inactive").click(function(e){
|
$("#show_inactive").click(function(e){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
oTable.fnFilter( '', 0 );
|
oTable.fnFilter( '', 0 );
|
||||||
inactive.show();
|
|
||||||
active.hide();
|
|
||||||
});
|
});
|
||||||
$("#hide_inactive").click();
|
$("#hide_inactive").click();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue