yzen/ui — pull request #1 by anvk (2012-12-14 22:26:52+00:00)
Title: CSpace-4849: miniView positioning

I tried to use this
miniView.container.position({
my: "left top",
at: "right top",
of: currentTarget,
collision: "none"
});
But it would line up the miniView very very far away in the browser window. After some research it is all because of the popup.container. It is div generated by the Infusion which gives width to be 1149 pixels or something like that. Changing its width to be = width of the popup will require .css() call so better to call it once on the miniView instead of twice: container and then position() for the miniView.

This code change will allow to position miniView properly related to the popup. It will get left position only once upon miniView component creation.