Refactor batch execution options to use colander/deform
This commit is contained in:
parent
2cbacd6187
commit
dd04459748
12 changed files with 87 additions and 99 deletions
12
tailbone/static/js/jquery.ui.tailbone.js
vendored
12
tailbone/static/js/jquery.ui.tailbone.js
vendored
|
@ -261,6 +261,18 @@
|
|||
that.grid.gridcore();
|
||||
that.element.unmask();
|
||||
});
|
||||
},
|
||||
|
||||
results_count: function(as_text) {
|
||||
var count = null;
|
||||
var match = /showing \d+ thru \d+ of (\S+)/.exec(this.element.find('.pager .showing').text());
|
||||
if (match) {
|
||||
count = match[1];
|
||||
if (!as_text) {
|
||||
count = parseInt(count, 10);
|
||||
}
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
|
||||
$(function() {
|
||||
|
||||
$('.grid-wrapper').gridwrapper();
|
||||
|
||||
$('#execute-batch').click(function() {
|
||||
if (has_execution_options) {
|
||||
$('#execution-options-dialog').dialog({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue