diff --git a/tailbone/static/js/tailbone.batch.js b/tailbone/static/js/tailbone.batch.js index f421e9fe..fa66f96b 100644 --- a/tailbone/static/js/tailbone.batch.js +++ b/tailbone/static/js/tailbone.batch.js @@ -22,7 +22,7 @@ $(function() { { text: "Execute", click: function(event) { - $(event.target).button('option', 'label', "Executing, please wait...").button('disable'); + dialog_button(event).button('option', 'label', "Executing, please wait...").button('disable'); $('form[name="batch-execution"]').submit(); } },