Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions asset/js/workflow_graphical_view_portal.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,15 @@ $(function()
},
_prepareModal: function()
{
// Note: Unfortunately we have to manually rebuild the modal markup as for now the CombodoPortalToolbox does not allow to specify all parts of the modal.
// Note: Unfortunately we have to manually rebuild the modal markup as for now the CombodoModal does not allow to specify all parts of the modal.
// This has been tracked under N°2906.
var sModalContent = '<div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button><h4 class="modal-title">'+this.options.dict.modal_title+'</h4></div>'+
'<div class="modal-body lcsn-graph-container">' + this.options.content + this.options.legend + '</div>' +
'<div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal">'+this.options.dict.modal_close_label+'</button></div>';

CombodoPortalToolbox.OpenModal({
content: sModalContent
CombodoModal.OpenModal({
content: sModalContent,
size: 'lg',
});
},
_openModal: function()
Expand Down