Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #122 from thehyve/gwas-bug-fixes
Browse files Browse the repository at this point in the history
Added conditional before destroying analysis dialog
  • Loading branch information
rnugraha authored Dec 30, 2016
2 parents e9a4a97 + f267426 commit e0ae8fb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ function generateBrowseWindow(nodeClicked)
}

//Load from the URL into a dialog window to capture the user input. We pass in a function that handles what happens after the user presses "Select".
jQuery('#divBrowsePopups').dialog("destroy");
if (jQuery('#divBrowsePopups').is(":visible")) {
jQuery('#divBrowsePopups').dialog("destroy");
}
jQuery('#divBrowsePopups').dialog(
{
modal: false,
Expand Down

0 comments on commit e0ae8fb

Please sign in to comment.