Commit 8f05e98c authored by Tim Rogers's avatar Tim Rogers

COS-46 set reference initial path to saved initial path if exists

parent c26c0668
......@@ -54,7 +54,7 @@ module.exports = function(utils, key, $lockButton){
var $source = $li.find('.source');
var $hiddenRef = $li.find('.hidden-ref');
var initialPath = ref;
var referenceInitialPath = options.referenceInitialPath;
var referenceInitialPath = initialPath || options.referenceInitialPath;
if(ref && options.source){
if(initialPath.indexOf('jcr:content') > -1){
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