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:
parent
0b4d88a57d
commit
929129e8ad
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user