Project

General

Profile

Actions

Bug #14217

closed

auto-attach on a content host throws js error

Added by Thomas McKay almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

TypeError: Cannot read property 'host' of undefined
    at Scope.$scope.autoAttachSubscriptions (content-host-base-subscriptions.controller.self.js?body=1:37)

Clicking auto-attach on a content host subscriptions UI page is incorrectly referencing host


        $scope.autoAttachSubscriptions = function () {
            $scope.subscription.workingMode = true;
            HostSubscription.autoAttach({id: $scope.contentHost.host.id}, success, failure);
        };
Actions

Also available in: Atom PDF