|
@@ -203,7 +203,7 @@ define([ "require", "backbone", "hbs!tmpl/common/TableLayout_tmpl", "utils/Messa
|
|
content: Messages.search.noRecordForPage + "<b>" + Utils.getNumberSuffix({
|
|
content: Messages.search.noRecordForPage + "<b>" + Utils.getNumberSuffix({
|
|
number: pageNumber,
|
|
number: pageNumber,
|
|
sup: !0
|
|
sup: !0
|
|
- }) + "</b> page"
|
|
|
|
|
|
+ }) + "</b> 页"
|
|
});
|
|
});
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -320,7 +320,7 @@ define([ "require", "backbone", "hbs!tmpl/common/TableLayout_tmpl", "utils/Messa
|
|
gotoPagebtn: function(e) {
|
|
gotoPagebtn: function(e) {
|
|
var that = this, goToPage = parseInt(this.ui.gotoPage.val());
|
|
var that = this, goToPage = parseInt(this.ui.gotoPage.val());
|
|
if (!_.isNaN(goToPage) && (0 == goToPage || this.collection.state.totalPages < goToPage)) return Utils.notifyInfo({
|
|
if (!_.isNaN(goToPage) && (0 == goToPage || this.collection.state.totalPages < goToPage)) return Utils.notifyInfo({
|
|
- content: Messages.search.noRecordForPage + "page " + goToPage
|
|
|
|
|
|
+ content: Messages.search.noRecordForPage + "页 " + goToPage
|
|
}), this.ui.gotoPage.val(""), void that.ui.gotoPagebtn.attr("disabled", !0);
|
|
}), this.ui.gotoPage.val(""), void that.ui.gotoPagebtn.attr("disabled", !0);
|
|
if (!(_.isNaN(goToPage) || goToPage <= -1)) {
|
|
if (!(_.isNaN(goToPage) || goToPage <= -1)) {
|
|
if ("client" == this.collection.mode) return this.collection.getPage(goToPage - 1, {
|
|
if ("client" == this.collection.mode) return this.collection.getPage(goToPage - 1, {
|