Position Dialog using Position Object
Hello,
I have created a patch to allow the postion of a dialog to be specified using a position object.
With this patch you can do the following:
$("#dialog-modal").dialog({
height: 140,
modal: true,
position: {my: 'center', at: 'center', of: '#test_form'}
});
The patch does not effect the results of the Unit Tests for the Dialog, and all of the original options for the dialog's postion option should function as expected.