Commit 878e590d authored by Leigh Stoller's avatar Leigh Stoller

Minor fixes to repo based profiles.

parent 2bf0890c
...@@ -309,11 +309,10 @@ $(function () ...@@ -309,11 +309,10 @@ $(function ()
function SetupRepo() function SetupRepo()
{ {
gitrepo.InitRepoPicker(version_uuid, gitrepo.InitRepoPicker(version_uuid, null,
function(which) { function(which) {
SelectRepoTarget(which); SelectRepoTarget(which);
}); });
gitrepo.GetCommitInfo(version_uuid);
} }
/* /*
* User has clicked on a branch/tag. We need to get that branch/tag * User has clicked on a branch/tag. We need to get that branch/tag
......
...@@ -1594,7 +1594,7 @@ function Do_GetCommitInfo() ...@@ -1594,7 +1594,7 @@ function Do_GetCommitInfo()
$this_idx = $this_user->uid_idx(); $this_idx = $this_user->uid_idx();
$this_uid = $this_user->uid(); $this_uid = $this_user->uid();
if (isset($ajax_args["refspec"]) && $ajax_args["refspec"] != null) { if (isset($ajax_args["refspec"]) && $ajax_args["refspec"]) {
$which = escapeshellarg($ajax_args["refspec"]); $which = escapeshellarg($ajax_args["refspec"]);
} }
if (!isset($ajax_args["uuid"])) { if (!isset($ajax_args["uuid"])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment