From f45b113c68408a0a58a78ffb2716ba7e6b90ccde Mon Sep 17 00:00:00 2001 From: IT-KIMI_SHI\SINOIT.KIMI <kimi42345@gmail.com> Date: 星期二, 12 六月 2018 13:41:35 +0800 Subject: [PATCH] no message --- source/my/frame/WebRoot/js/grid.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/my/frame/WebRoot/js/grid.js b/source/my/frame/WebRoot/js/grid.js index 627748d..0820af8 100644 --- a/source/my/frame/WebRoot/js/grid.js +++ b/source/my/frame/WebRoot/js/grid.js @@ -459,7 +459,7 @@ pageTo: function(pageNo) { var start = this.url.indexOf('pageno'); var end = this.url.indexOf('&', start); - var replaceStr = this.url.substring(start, end); + var replaceStr = this.url.subString(start, end); this.url = this.url.replace(replaceStr, 'pageno=' + pageNo); this.refresh(); @@ -857,8 +857,8 @@ column.render(element.body, this.value, this.row, this.grid); } else { - if(column.field.substring(0, 8) == 'constant'){ - element.body.html(column.field.substring(8)); + if(column.field.subString(0, 8) == 'constant'){ + element.body.html(column.field.subString(8)); } else{ element.body.html(this.value); -- Gitblit v1.8.0