Commit bf69d40c authored by Leigh Stoller's avatar Leigh Stoller

Minor fix.

parent f8555b11
......@@ -1708,7 +1708,7 @@ $(function ()
var name = $(dimage).attr("name");
if (name) {
var hrn = sup.ParseURN(name);
if (hrn.type == "image") {
if (hrn && hrn.type == "image") {
var id = hrn.project + "/" + hrn.image;
if (hrn.version != null) {
id = id + ":" + hrn.version;
......
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