Fixes: U4-3110 Cant create new relationstype - ensures that the legacy action js path references are included

This commit is contained in:
Shannon
2013-10-15 16:18:55 +11:00
parent 35545019a5
commit c42170cf6b
4 changed files with 18 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ angular.module("umbraco.directives")
if (menuAction.length !== 2) {
//if it is not two parts long then this most likely means that it's a legacy action
var js = action.metaData["jsAction"];
var js = action.metaData["jsAction"].replace("javascript:", "");
//there's not really a different way to acheive this except for eval
eval(js);