From 4147752672f1d60737a2435f8910689208a2277e Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 11 Jan 2018 12:32:31 -0600 Subject: [PATCH] Fix dialog button click event when executing price batch i.e. fix it for Chrome's sake --- tailbone/static/js/tailbone.batch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } },