From b08cd59bac536d1b9006ea02da27acca6749a530 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 4 Jun 2014 14:35:20 +0000 Subject: [PATCH] Fix preview popup displaying while importing --- importexport/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importexport/js/app.js b/importexport/js/app.js index 600bd23418..d027ba0120 100644 --- a/importexport/js/app.js +++ b/importexport/js/app.js @@ -78,7 +78,7 @@ app.classes.importexport = AppJS.extend( import_preview: function(event, widget) { var test = widget.getRoot().getWidgetById('dry-run'); - if(!test.getValue()) return true; + if(test.getValue() == test.options.unselected_value) return true; // Show preview var preview = $j(widget.getRoot().getWidgetById('preview_box').getDOMNode());