function confirmExit()

in entity-browser-frontend/app/directive/form-view.js [88:99]


                function confirmExit(callback) {
                    return confirmation({
                        label: 'You can loose unsaved data',
                        message: 'Are you sure to proceed?',
                        action: 'Proceed'
                    }, function (result) {
                        if (result) {
                            scope.editMode = false;
                            callback();
                        }
                    });
                }