upon saving, copy over route properties from defaults

This commit is contained in:
psychobunny
2015-02-25 15:29:26 -05:00
parent a9f175a2bb
commit afc690d67b
2 changed files with 8 additions and 2 deletions

View File

@@ -40,6 +40,12 @@ define('admin/general/navigation', function() {
data[input.name] = input.value;
});
available.forEach(function(item) {
if (item.route.match(data.route)) {
data.properties = item.properties;
}
});
nav.push(data);
});