From 09b3fb6b3f3487d4d78992301ab74dc62e41d48d Mon Sep 17 00:00:00 2001 From: Zach Schneider Date: Fri, 10 Jan 2014 18:08:24 -0500 Subject: [PATCH] Prevented duplicate binding of upload button on debug importer Fixes #1899 --- core/client/views/debug.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/client/views/debug.js b/core/client/views/debug.js index 42e3d005be..1b14616bc7 100644 --- a/core/client/views/debug.js +++ b/core/client/views/debug.js @@ -21,6 +21,8 @@ dataType: 'json', add: function (e, data) { /*jslint unparam:true*/ + // unregister click event to preveng duplicate binding + $('#startupload').off("click"); data.context = $('#startupload').prop('disabled', false) .click(function () { $('#startupload').prop('disabled', true);