Projekt

Obecné

Profil

« Předchozí | Další » 

Revize d1bca09c

Přidáno uživatelem Dominik Poch před asi 2 roky(ů)

Changed modal closing

Do not close modal when clicked outside of bounds

Zobrazit rozdíly:

webapp/components/modals/CategoryModal.tsx
75 75
            visible={true}
76 76
            okText={props.submitText}
77 77
            cancelText="Zrušit"
78
            maskClosable={false}
78 79
            onCancel={handleCancel}
79 80
            onOk={() => {
80 81
                // Custom form validation when the modal is submitted.
webapp/components/modals/SubTagModal.tsx
67 67
            visible={true}
68 68
            okText={props.submitText}
69 69
            cancelText="Zrušit"
70
            maskClosable={false}
70 71
            onCancel={handleCancel}
71 72
            onOk={() => {
72 73
                // Custom form validation when the modal is submitted.
webapp/components/modals/TagModal.tsx
70 70
            visible={true}
71 71
            okText={props.submitText}
72 72
            cancelText="Zrušit"
73
            maskClosable={false}
73 74
            onCancel={handleCancel}
74 75
            onOk={() => {
75 76
                // Custom form validation when the modal is submitted.

Také k dispozici: Unified diff