mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
Makes CodeMirror Modal resizable
This commit is contained in:
parent
0b4d88a57d
commit
929129e8ad
@ -43,6 +43,11 @@ function atCodeMirrorModalController (
|
|||||||
ParseTypeChange(options);
|
ParseTypeChange(options);
|
||||||
resize();
|
resize();
|
||||||
$(CodeMirrorModalID).on('hidden.bs.modal', $scope.closeFn);
|
$(CodeMirrorModalID).on('hidden.bs.modal', $scope.closeFn);
|
||||||
|
$(`${CodeMirrorModalID} .modal-dialog`).resizable({
|
||||||
|
minHeight: 523,
|
||||||
|
minWidth: 600
|
||||||
|
});
|
||||||
|
$(`${CodeMirrorModalID} .modal-dialog`).on('resize', resize);
|
||||||
}
|
}
|
||||||
|
|
||||||
vm.strings = strings;
|
vm.strings = strings;
|
||||||
|
Loading…
Reference in New Issue
Block a user