优化Longbow.Common.js内部一个js脚本
This commit is contained in:
parent
1e55674122
commit
bf2a8410cb
|
@ -309,11 +309,11 @@
|
||||||
clickToSelect: false
|
clickToSelect: false
|
||||||
}, options);
|
}, options);
|
||||||
$(this).bootstrapTable(settings);
|
$(this).bootstrapTable(settings);
|
||||||
$('div.toolbar').insertBefore($('div.bootstrap-table > div.fixed-table-toolbar > div.bs-bars'));
|
var $toolbar = $('div.toolbar');
|
||||||
$('div.toolbar').on('click', 'a', function () {
|
$('div.toolbar').on('click', 'a', function () {
|
||||||
var ctl = $('#' + $(this).attr('id').replace('tb_', 'btn_'));
|
var ctl = $('#' + $(this).attr('id').replace('tb_', 'btn_'));
|
||||||
ctl.trigger("click");
|
ctl.trigger("click");
|
||||||
});
|
}).insertBefore($('div.bootstrap-table > div.fixed-table-toolbar > div.bs-bars'));
|
||||||
},
|
},
|
||||||
select: function () {
|
select: function () {
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
|
|
Loading…
Reference in New Issue