Fix preview popup displaying while importing

This commit is contained in:
Nathan Gray 2014-06-04 14:35:20 +00:00
parent 2b2a6e2261
commit b08cd59bac

View File

@ -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());