fix /{localLink:ID}

ensures it set the href to /{localLink:ID} instead of /umbraco/{localLink:ID}
This commit is contained in:
mvanhelmont
2013-12-04 21:01:10 +01:00
parent ff34024f39
commit 0b2428e9a3

View File

@@ -209,7 +209,7 @@ tinymce.PluginManager.add('umbracolink', function(editor) {
//if we have an id, it must be a locallink:id
if(data.id){
href = "{localLink:" + data.id + "}";
href = "/{localLink:" + data.id + "}";
insertLink();
return;
}
@@ -260,4 +260,4 @@ tinymce.PluginManager.add('umbracolink', function(editor) {
context: 'insert',
prependToContext: true
});
});
});