mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 21:58:13 +00:00
Fixed objects being dropped twice in fixed layout
This commit is contained in:
@ -56,9 +56,11 @@ define(
|
||||
}
|
||||
|
||||
function updateQueryParam(viewKey) {
|
||||
var unlisten, priorRoute = $route.current;
|
||||
var unlisten,
|
||||
priorRoute = $route.current,
|
||||
editMode = $scope.domainObject && $scope.domainObject.hasCapability('editor');
|
||||
|
||||
if (viewKey) {
|
||||
if (viewKey && !editMode) {
|
||||
$location.search('view', viewKey);
|
||||
unlisten = $scope.$on('$locationChangeSuccess', function () {
|
||||
// Checks path to make sure /browse/ is at front
|
||||
|
Reference in New Issue
Block a user