mirror of
https://github.com/nasa/openmct.git
synced 2025-04-19 08:36:24 +00:00
Fixed objects being dropped twice in fixed layout
This commit is contained in:
parent
9a42cb4f7e
commit
6fb6f54cfa
@ -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
|
||||
|
@ -19,7 +19,6 @@
|
||||
"type": "telemetry.panel",
|
||||
"templateUrl": "templates/fixed.html",
|
||||
"uses": [ "composition" ],
|
||||
"gestures": [ "drop" ],
|
||||
"toolbar": {
|
||||
"sections": [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user