Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel CAZAL
co2
Commits
55496410
Commit
55496410
authored
Jan 24, 2019
by
Raph El
Browse files
Merge branch 'master' of
https://gitlab.adullact.net/pixelhumain/co2
parents
80258b97
d8167f4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/admin/referenceTable.php
View file @
55496410
...
...
@@ -156,17 +156,20 @@ function initMenuReference(){
$
(
"
.sourceFilter
"
).
off
().
on
(
"
click
"
,
function
(){
searchAdmin
.
mode
=
"
source
"
;
searchAdmin
.
page
=
0
;
searchAdmin
.
text
=
null
;
startAdminSearch
(
true
);
});
$
(
"
.referenceFilter
"
).
off
().
on
(
"
click
"
,
function
(){
searchAdmin
.
mode
=
"
reference
"
;
searchAdmin
.
page
=
0
;
searchAdmin
.
text
=
null
;
startAdminSearch
(
true
);
});
$
(
"
.searchOpenFilter
"
).
off
().
on
(
"
click
"
,
function
(){
searchAdmin
.
mode
=
"
open
"
;
searchAdmin
.
page
=
0
;
searchAdmin
.
text
=
null
;
startAdminSearch
(
true
);
});
}
...
...
@@ -178,14 +181,11 @@ function initPageTable(number){
currentPage
:
1
,
hrefTextPrefix
:
"
?page=
"
,
cssStyle
:
'
light-theme
'
,
//prevText: '
<
span
aria
-
hidden
=
"
true
"
>&
laquo
;
<
/span>'
,
//nextText: '
<
span
aria
-
hidden
=
"
true
"
>&
raquo
;
<
/span>'
,
onInit
:
function
()
{
// fire first page loading
},
onPageClick
:
function
(
page
,
evt
)
{
// some code
//alert(page);
searchAdmin
.
page
=
(
page
-
1
);
startAdminSearch
();
}
...
...
Write
Preview
Supports
Markdown
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