package jalview.io;
import jalview.bin.Cache;
+import jalview.bin.Jalview;
import jalview.gui.JvOptionPane;
import jalview.util.MessageManager;
import jalview.util.Platform;
{
int value = super.showOpenDialog(this);
- /*
- * code below here is not reached in JalviewJS, instead
- * propertyChange() is called for dialog action
- */
- /**
- * @j2sNative
- */
+ if (!Jalview.isJS())
{
- handleResponse(value);
+ /*
+ * code here is not run in JalviewJS, instead
+ * propertyChange() is called for dialog action
+ */
+ handleResponse(value);
}
return value;
}