Skip to content
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.

Commit

Permalink
修改创建按钮链接为空的BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
kuwii-x committed Feb 24, 2017
1 parent 70be0a8 commit b0764ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sat.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ SATable.createHead = function() {
self.dom.filter.button = btnFilter
}
if (self.createURL != null) {
var btnCreate = getDom.AButton('创建', 'javascript:void(0);')
var btnCreate = getDom.AButton('创建', self.createURL)
$(divBtn).append(btnCreate)
}
$(divBetween).append(divTitle).append(divBtn)
Expand Down Expand Up @@ -857,4 +857,4 @@ SATable.SimpleAjaxTable = function(tableInfo) {
saTable.initData(tableInfo)
saTable.initTable()
saTable.update()
}
}

0 comments on commit b0764ff

Please sign in to comment.