in entity-browser-frontend/app/service/confirmation.js [3:21]
function ($uibModal) {
return function (text, callback) {
return $uibModal.open({
animation: true,
template: require('../templates/confirmation-dialog.html'),
controller: 'ConfirmationController',
resolve: {
item: function () {
return text;
}
}
}).result.then(function (result) {
if (callback && result) {
callback(result)
}
return result
});
}
}]