Modal Widget in Portal
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 11:23 PM
Hi, I have a widget that I want to show my approvals. The problem is that I want it to display details about the approval once I click on it, data that it takes from a table (called Instnace). In this moment, it doesn't show me the details.
For the button who takes me to more details I used: ng-click="c.viewModal(); c.showPopover(approvment.sys_id, approvment.template);"
And in the client controller:
c.viewModal = function(step, item) {
c.modalInstance = $uibModal.open({
templateUrl: 'approve_home',
keyboard: false,
backdrop: 'static',
scope: $scope
});
};
c.closeModal = function() {
c.modalInstance.close();
};
Thanks! 🙂
0 REPLIES 0