Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo
Commits
d6964e4a
Commit
d6964e4a
authored
Jun 11, 2012
by
Vanessa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fiexd issue 13
parent
26bfdd04
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
war/src/main/webapp/admin-label.ftl
war/src/main/webapp/admin-label.ftl
+1
-0
war/src/main/webapp/js/admin/tablePaginate.js
war/src/main/webapp/js/admin/tablePaginate.js
+9
-6
war/src/main/webapp/js/lib/jquery/jquery.bowknot.min.js
war/src/main/webapp/js/lib/jquery/jquery.bowknot.min.js
+1
-1
No files found.
war/src/main/webapp/admin-label.ftl
View file @
d6964e4a
...
@@ -83,6 +83,7 @@
...
@@ -83,6 +83,7 @@
"openMethodLabel": "${openMethodLabel}",
"openMethodLabel": "${openMethodLabel}",
"typeLabel": "${typeLabel}",
"typeLabel": "${typeLabel}",
"markdownHelpLabel": "${markdownHelpLabel}",
"markdownHelpLabel": "${markdownHelpLabel}",
"notFoundLabel": "${notFoundLabel}",
"em00Label": "${em00Label}",
"em00Label": "${em00Label}",
"em01Label": "${em01Label}",
"em01Label": "${em01Label}",
"em02Label": "${em02Label}",
"em02Label": "${em02Label}",
...
...
war/src/main/webapp/js/admin/tablePaginate.js
View file @
d6964e4a
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
* table and paginate util
* table and paginate util
*
*
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @version 1.0.0.
7, Nov 8, 2011
* @version 1.0.0.
8, Jun 11, 2012
*/
*/
var
TablePaginate
=
function
(
id
)
{
var
TablePaginate
=
function
(
id
)
{
...
@@ -50,9 +50,12 @@ $.extend(TablePaginate.prototype, {
...
@@ -50,9 +50,12 @@ $.extend(TablePaginate.prototype, {
initPagination
:
function
()
{
initPagination
:
function
()
{
var
id
=
this
.
id
;
var
id
=
this
.
id
;
$
(
"
#
"
+
id
+
"
Pagination
"
).
paginate
({
$
(
"
#
"
+
id
+
"
Pagination
"
).
paginate
({
"
bind
"
:
function
(
currentPage
)
{
"
bind
"
:
function
(
currentPage
,
errorMessage
)
{
admin
.
setHashByPage
(
currentPage
);
if
(
errorMessage
)
{
return
true
;
$
(
"
#tipMsg
"
).
text
(
errorMessage
);
}
else
{
admin
.
setHashByPage
(
currentPage
);
}
},
},
"
currentPage
"
:
1
,
"
currentPage
"
:
1
,
"
errorMessage
"
:
Label
.
inputErrorLabel
,
"
errorMessage
"
:
Label
.
inputErrorLabel
,
...
@@ -86,8 +89,8 @@ $.extend(TablePaginate.prototype, {
...
@@ -86,8 +89,8 @@ $.extend(TablePaginate.prototype, {
updateTablePagination
:
function
(
data
,
currentPage
,
pageInfo
)
{
updateTablePagination
:
function
(
data
,
currentPage
,
pageInfo
)
{
currentPage
=
parseInt
(
currentPage
);
currentPage
=
parseInt
(
currentPage
);
if
(
currentPage
>
pageInfo
.
paginationPageCount
&&
currentPage
>
1
)
{
if
(
currentPage
>
pageInfo
.
paginationPageCount
&&
currentPage
>
1
)
{
$
(
"
#tipMsg
"
).
text
(
Label
.
pageLabel
+
"
:
"
+
currentPage
+
"
"
+
Label
.
noDataLable
);
$
(
"
#tipMsg
"
).
text
(
Label
.
pageLabel
+
currentPage
+
Label
.
notFoundLabel
);
$
(
"
#loadMsg
"
).
text
(
""
);
$
(
"
#loadMsg
"
).
text
(
""
);
return
;
return
;
}
}
$
(
"
#
"
+
this
.
id
+
"
Table
"
).
table
(
"
update
"
,
{
$
(
"
#
"
+
this
.
id
+
"
Table
"
).
table
(
"
update
"
,
{
...
...
war/src/main/webapp/js/lib/jquery/jquery.bowknot.min.js
View file @
d6964e4a
This diff is collapsed.
Click to expand it.
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