start on new property editors

This commit is contained in:
Per Ploug Krogslund
2013-08-10 20:04:17 +02:00
parent 369b0b74c0
commit 930bca4a2b
5 changed files with 35 additions and 0 deletions

View File

@@ -6,10 +6,25 @@
editor: {
view: "~/App_Plugins/property editors/mntp/mntp.html"
}
},
{
id: "71b8ad1a-8dc2-425c-b6b8-faa158075e63",
name: "Related links",
editor: {
view: "~/App_Plugins/property editors/relatedlinks/relatedlinks.html"
}
},
{
id: "71b8ad1a-8dc2-425c-b6b8-faa158075e63",
name: "Boolean",
editor: {
view: "~/Umbraco/views/propertyeditors/boolean/boolean.html"
}
}
]
,
javascript: [
'~/App_Plugins/property editors/relatedlinks/relatedlinks.js',
'~/App_Plugins/property editors/mntp/mntp.js'
]
}

View File

@@ -27,6 +27,11 @@
//We need to load in the legacy tree js.
legacyJsLoader.loadLegacyTreeJs($scope).then(
function(result) {
var iframe = document.getElementById("right");
if(iframe){
iframe.contentDocument.location.reload(true);
}
$scope.submit(true);
});
}, function (reason) {

View File

@@ -6,10 +6,25 @@
editor: {
view: "~/App_Plugins/property editors/mntp/mntp.html"
}
},
{
id: "71b8ad1a-8dc2-425c-b6b8-faa158075e63",
name: "Related links",
editor: {
view: "~/App_Plugins/property editors/relatedlinks/relatedlinks.html"
}
},
{
id: "71b8ad1a-8dc2-425c-b6b8-faa158075e63",
name: "Boolean",
editor: {
view: "~/Umbraco/views/propertyeditors/boolean/boolean.html"
}
}
]
,
javascript: [
'~/App_Plugins/property editors/relatedlinks/relatedlinks.js',
'~/App_Plugins/property editors/mntp/mntp.js'
]
}