Close a modal widget opened from menu item
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2024 01:01 AM
Hi,
I have created a custom widget, using it in the menu item (using advanced portal navigation)
I need help on closing this widget
Currently calling the function as below
ng-click="c.closeModal()"
Script in client controller
c.closeModal = function() {
c.modalInstance = $uibModal.close({
templateUrl: 'get_support_esc',
scope: $scope,
});
c.modalInstance.close();
};
But this is not working
please advice
0 REPLIES 0