-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[email protected] 그리드 모바일 뷰모드 페이징 버그 픽스
- Loading branch information
1 parent
3337043
commit 6942053
Showing
5 changed files
with
31 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* AXGrid | ||
* @class AXGrid | ||
* @extends AXJ | ||
* @version v4.6.7 | ||
* @version v4.6.8 | ||
* @author [email protected] | ||
* @example | ||
*``` | ||
|
@@ -5907,8 +5907,8 @@ var AXGrid = Class.create(AXJ, { | |
} | ||
po.push('<select name="inline_editor_item" id="' + cfg.targetID + '_inline_editor" class="inline_editor_select ' + cond.type + '">'); | ||
|
||
if($.isFunction(cond.options)){ | ||
(function(options){ | ||
if ($.isFunction(cond.options)) { | ||
(function (options) { | ||
for (var oi = 0; oi < options.length; oi++) { | ||
var value, text; | ||
value = options[oi][cond.optionValue || "optionValue"], text = options[oi][cond.optionText || "optionText"]; | ||
|
@@ -9112,9 +9112,15 @@ var AXGrid = Class.create(AXJ, { | |
var pgCount = this.page.pageCount.number(); | ||
var pageNo = this.page.pageNo.number(); | ||
|
||
if (pageNo + pageAdd < 1) pageNo = 1; | ||
else if (pageNo + pageAdd > pgCount) pageNo = pgCount; | ||
else pageNo += pageAdd; | ||
if (pageNo + pageAdd < 1) { | ||
return false; | ||
} | ||
else if (pageNo + pageAdd > pgCount) { | ||
return false; | ||
} | ||
else { | ||
pageNo += pageAdd; | ||
} | ||
|
||
if (cfg.viewMode == "mobile") { | ||
axdom("#" + cfg.targetID + "_AX_gridToolTopPageNo").val(pageNo); | ||
|
@@ -9320,7 +9326,7 @@ var AXGrid = Class.create(AXJ, { | |
item: item, | ||
page: this.page, | ||
key: CH.key, | ||
value: item[CH.key]||"" | ||
value: item[CH.key] || "" | ||
}; | ||
result = CH.formatter.call(sendObj, itemIndex, item); | ||
result = ("" + result).delHtml(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*! | ||
axisj - v1.1.9 - 2016-08-25 | ||
axisj - v1.1.10 - 2016-10-14 | ||
*/ | ||
|
||
if(!window.AXConfig){ | ||
|