Commit dfe23620 authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

Vispa.applyFragment: correctly handle abbreviated view names

parent 481ddf45
......@@ -650,7 +650,7 @@ define([
var wsPart = fragment.substr(0, i);
var viewPart = fragment.substr(i + 1).split(":");
var extName = viewPart[0];
var viewName = viewPart[1];
var viewName = viewPart[1] || extName;
var viewFrag = viewPart.slice(2).join(":");
// 1st attempt to find the view by id
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