Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
32ffe15d
Commit
32ffe15d
authored
Nov 29, 2016
by
delanoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BUG #75] Removing pagination. Maybe a conflict between js libs.
parent
6f5a9146
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
9 deletions
+10
-9
Docs_dyna_chart_and_table.js
static/lib/gargantext/Docs_dyna_chart_and_table.js
+3
-3
NGrams_dyna_chart_and_table.js
static/lib/gargantext/NGrams_dyna_chart_and_table.js
+3
-3
Sources_dyna_chart_and_table.js
static/lib/gargantext/Sources_dyna_chart_and_table.js
+3
-3
titles.html
templates/pages/corpora/titles.html
+1
-0
No files found.
static/lib/gargantext/Docs_dyna_chart_and_table.js
View file @
32ffe15d
...
...
@@ -580,9 +580,9 @@ function Main_test(Data) {
$
(
".dynatable-record-count"
).
insertAfter
(
".imadiv"
)
$
(
".dynatable-pagination-links"
).
insertAfter
(
".imadiv"
)
$
(
'<div class="imadiv"></div>'
).
insertAfter
(
"#my-ajax-table"
)
$
(
".dynatable-record-count"
).
insertAfter
(
".imadiv"
)
$
(
".dynatable-pagination-links"
).
insertAfter
(
".imadiv"
)
//
$('<div class="imadiv"></div>').insertAfter("#my-ajax-table")
//
$(".dynatable-record-count").insertAfter(".imadiv")
//
$(".dynatable-pagination-links").insertAfter(".imadiv")
// binds a custom filter to our 'doubleSearch' via dynatable.queries.functions
MyTable
.
data
(
'dynatable'
).
queries
.
functions
[
'doubleSearch'
]
=
function
(
record
,
searchString
)
{
...
...
static/lib/gargantext/NGrams_dyna_chart_and_table.js
View file @
32ffe15d
...
...
@@ -2376,9 +2376,9 @@ function MainTableAndCharts( ngdata , initial , filtersParams, callerLabel) {
$
(
".dynatable-record-count"
).
insertAfter
(
".imadiv"
)
$
(
".dynatable-pagination-links"
).
insertAfter
(
".imadiv"
)
$
(
'<div class="imadiv"></div>'
).
insertAfter
(
"#my-ajax-table"
)
$
(
".dynatable-record-count"
).
insertAfter
(
".imadiv"
)
$
(
".dynatable-pagination-links"
).
insertAfter
(
".imadiv"
)
//
$('<div class="imadiv"></div>').insertAfter("#my-ajax-table")
//
$(".dynatable-record-count").insertAfter(".imadiv")
//
$(".dynatable-pagination-links").insertAfter(".imadiv")
// restore chart filters
if
(
typeof
(
filtersParams
.
from
)
!=
'undefined'
...
...
static/lib/gargantext/Sources_dyna_chart_and_table.js
View file @
32ffe15d
...
...
@@ -482,9 +482,9 @@ function Main_test( data , initial) {
$
(
".dynatable-record-count"
).
insertAfter
(
".imadiv"
)
$
(
".dynatable-pagination-links"
).
insertAfter
(
".imadiv"
)
$
(
'<div class="imadiv"></div>'
).
insertAfter
(
"#my-ajax-table"
)
$
(
".dynatable-record-count"
).
insertAfter
(
".imadiv"
)
$
(
".dynatable-pagination-links"
).
insertAfter
(
".imadiv"
)
//
$('<div class="imadiv"></div>').insertAfter("#my-ajax-table")
//
$(".dynatable-record-count").insertAfter(".imadiv")
//
$(".dynatable-pagination-links").insertAfter(".imadiv")
console
.
log
(
"After table 3"
)
return
"OK"
...
...
templates/pages/corpora/titles.html
View file @
32ffe15d
...
...
@@ -110,5 +110,6 @@
<!-- custom-lib for dynatable.js and dc.js -->
<script
type=
"text/javascript"
src=
"{% static "
lib
/
gargantext
/
Docs_dyna_chart_and_table
.
js
"
%}"
></script>
<!-- <script type="text/javascript" src="{% static "lib/gargantext/help.js" %}"></script> -->
{% endblock %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment