Commit 50e8cecf authored by PkSM3's avatar PkSM3

[UPDATE] abstracts en cours

parent f005f878
......@@ -434,6 +434,9 @@ function Main_test( Data , SearchFilter ) {
pushState: false,
// sort: false //i need to fix the sorting function... the current one just sucks
},
// inputs: {
// queries: $('#searchAB')
// },
writers: {
_rowWriter: ulWriter
// _cellWriter: customCellWriter
......@@ -454,6 +457,19 @@ function Main_test( Data , SearchFilter ) {
var the_content = $("#filter_search").html();
$(""+the_content).insertAfter("#dynatable-query-search-my-ajax-table")
// $('#searchAB').click( function() {
// if($(this).is(':checked')) {
// console.log( "Do stuff")
// $("#dynatable-query-search-my-ajax-table").keyup(function (e) {
// if (e.keyCode == 13) {
// console.log("Do stuff: Just pressed ENTER")
// }
// })
// }
// });
// MyTable.data('dynatable').settings.inputs.queries = { $('#searchAB') }
// .insertAfter("#dynatable-query-search-my-ajax-table")
return "OK"
......@@ -461,6 +477,7 @@ function Main_test( Data , SearchFilter ) {
function SearchFilters( elem ) {
var MODE = elem.value;
......@@ -501,6 +518,7 @@ function SearchFilters( elem ) {
// FIRST portion of code to be EXECUTED:
// (3) Get records and hyperdata for paginator
$.ajax({
......
......@@ -105,8 +105,8 @@ th a {
<div id="filter_search" style="visibility:hidden">
<span style="font-size:70%;">
<input title="Search in Titles" type="checkbox" checked onclick="return false">TI</input>&nbsp;
<input title="Search in Abstracts" type="checkbox">AB</input>
<input title="Search in Titles" id="searchTI" name="searchTI" type="checkbox" checked onclick="return false">TI&nbsp;
<input title="Search in Abstracts" id="searchAB" name="searchAB" type="checkbox">AB
</span>&nbsp;&nbsp;
<select id="example-single-optgroups" onchange="SearchFilters(this);">
<!-- <optgroup label=""> -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment