fixed #3341, introduced new navigation data property, "targetBlank", deprecated "target", which was never exposed anyway, and updated default values

This commit is contained in:
Julian Lam
2015-07-20 11:27:21 -04:00
parent 33434ed13d
commit 22251cb0bd
4 changed files with 32 additions and 26 deletions

View File

@@ -62,12 +62,6 @@ define('admin/general/navigation', ['translator'], function(translator) {
data.properties = {};
available.forEach(function(item) {
if (item.route.match(data.route)) {
data.properties = item.properties || {};
}
});
for (var prop in properties) {
if (properties.hasOwnProperty(prop)) {
data.properties[prop] = properties[prop];