3

Closed

DataType Grid properties popup problem

description

The properties popup for adding a new item does not open centered and gets outside the screen. It is not drag-able, so adding a new item is impossible.

file attachments

Closed Dec 21, 2011 at 1:05 PM by

comments

jizepi wrote Dec 6, 2011 at 3:52 PM

Similar issue experienced by client - at certain window sizes, the popup is positioned so that the "Add" button is displayed off the screen so they can't save the new item.

http://screencast.com/t/qhQJiseiyn

wrote Dec 21, 2011 at 9:59 AM

Resolved with changeset 86577.

bfi wrote Dec 21, 2011 at 11:34 AM

I tried the changeset 86577 and the issue is fixed. Now the popup is dragable . But I've found another problem with the DataType Grid that's most likely unrelated. The grid tries to load the images selected with the media picker, but in my case the images are pngs, so the filename it tries to load is myimage_thumb.png. The problem is that the thumbnails are .jpg and i think they are always jpegs. I don't know in which changeset this bug was introduced. I think the problem is in MediaExtensions.cs. Line 213 should be return media.GetPropertyAsString("umbracoFile").Replace("." + ext, "_thumb.jpg");

Thanks a lot for the fix!

bfi wrote Dec 21, 2011 at 11:39 AM

I spoke too soon. If the browser window is small, the popup still doesn't open in a correct position. It's all the way to the top (please see attachment). If I resize it from the bottom right corner, then it instantly re-positions itself properly.

Azzlack wrote Dec 21, 2011 at 12:32 PM

** Closed by Azzlack 21.12.2011 02:59

Azzlack wrote Dec 21, 2011 at 12:32 PM

Fix created other issues

wrote Dec 21, 2011 at 1:05 PM

Resolved with changeset 86585.

Azzlack wrote Dec 21, 2011 at 1:06 PM

Should work now (Tested in IE9 and FF 8).
Please report back if this is still an issue.

bfi wrote Dec 21, 2011 at 3:13 PM

Awesome, both issues are now fixed. I've also tested in Chrome. Thanks!