From da06ac6fd72ca42a4e2649a77a9d39b8f50d3655 Mon Sep 17 00:00:00 2001 From: John McLear Date: Wed, 29 Apr 2015 16:40:29 +0100 Subject: [PATCH] dont prompt twice on import fool --- src/static/js/pad_impexp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/pad_impexp.js b/src/static/js/pad_impexp.js index 967615702..1648f34cd 100644 --- a/src/static/js/pad_impexp.js +++ b/src/static/js/pad_impexp.js @@ -235,7 +235,7 @@ var padimpexp = (function() addImportFrames(); $("#importfileinput").change(fileInputUpdated); - $('#importform').submit(fileInputSubmit); + $('#importform').unbind("submit").submit(fileInputSubmit); $('.disabledexport').click(cantExport); }, handleFrameCall: function(directDatabaseAccess, status)