1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00

Makes CodeMirror Modal resizable

This commit is contained in:
Jared Tabor 2018-04-23 18:05:47 -07:00
parent 0b4d88a57d
commit 929129e8ad
No known key found for this signature in database
GPG Key ID: 1B343EC4C3CF7E5C

View File

@ -43,6 +43,11 @@ function atCodeMirrorModalController (
ParseTypeChange(options);
resize();
$(CodeMirrorModalID).on('hidden.bs.modal', $scope.closeFn);
$(`${CodeMirrorModalID} .modal-dialog`).resizable({
minHeight: 523,
minWidth: 600
});
$(`${CodeMirrorModalID} .modal-dialog`).on('resize', resize);
}
vm.strings = strings;