Skip to content
This repository was archived by the owner on Apr 18, 2020. It is now read-only.
This repository was archived by the owner on Apr 18, 2020. It is now read-only.

Modal opens and closes immediately  #21

Description

@Anton-Interon

Hi

I have a problem where the modal left menu opens but immediately closes. Funny enough when I click on the link and hold the modal appears and stays. Please assist

Here is my code

$scope.openAside = function (position) {
$aside.open({

 templateUrl: 'aside.html',
placement: position,
backdrop: true,
controller: function ($scope, $modalInstance) {
$scope.ok = function (e) {
$modalInstance.close();
e.stopPropagation();
};
$scope.cancel = function (e) {
$modalInstance.dismiss();
e.stopPropagation();
};
}
});
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions