[Windowing] UrlService
UrlService added which takes in a mode (browse or edit), and also a domainObject. Returns the url path to that domainObject. WTD-16.
This commit is contained in:
@@ -78,11 +78,16 @@
|
||||
"key": "navigationService",
|
||||
"implementation": "navigation/NavigationService.js"
|
||||
},
|
||||
{
|
||||
"key": "urlService",
|
||||
"implementation": "services/UrlService.js",
|
||||
"depends": [ "$location" ]
|
||||
},
|
||||
{
|
||||
"key": "creationService",
|
||||
"implementation": "creation/CreationService.js",
|
||||
"depends": [ "persistenceService", "$q", "$log" ]
|
||||
}
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
@@ -96,7 +101,7 @@
|
||||
"implementation": "windowing/NewTabAction.js",
|
||||
"description": "Open this object in a new tab",
|
||||
"category": ["view-control", "contextual"],
|
||||
"depends": [ "$window", "$route", "$location" ],
|
||||
"depends": [ "urlService", "$window", "$route", "$location" ],
|
||||
"group": "windowing",
|
||||
"glyph": "y"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user