Permalink
Browse files

Clear details pane when switching between domains

  • Loading branch information...
1 parent 2fd0f3d commit f6df7759428e3e4e8268c7991b35fa506e3ee13f @oldpatricka oldpatricka committed Apr 8, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 phantomweb/static/js/phantom_domain.js
@@ -541,6 +541,9 @@ function phantom_domain_select_domain_internal(domain_name, load_details) {
if (!domain_name) {
return;
}
+
+ phantom_domain_deselect_domain();
+
g_selected_domain = domain_name;
$("a.domain").parent().removeClass("active");
$("a.domain").filter(function() {return $(this).text() == domain_name}).parent().addClass("active");

0 comments on commit f6df775

Please sign in to comment.