jquery/jquery-ui — pull request #861 by wshaver (2012-12-06 00:23:57+00:00)
Title: ensure dialog box is never outside left of document

Previous code would ensure dialog position wouldn't be less than the top of the document. This adds code to ensure it is not less than the left side of the document, especially important with large dialogs inside of iframes or other small window sizes.