Posted during 2.0 FC relese 2 bugs with the MCPUK browser in Firefox. Hoping they would be fixed in the 2.0 Final, but they weren't. So, I messed with 2.0 Final tonight, and found solutions to these.
Problem #1) After uploading images, browser window refreshes, but does not display any images or folders (blank screen) Requires manual refresh to get them to redisplay.
Fix #1)
Go to frmupload.html and change line 84:
window.parent.frames['frmResourcesList'].Refresh() ;
to:
top.location.reload(true);
this refreshes the entire window (overkill, but it solves the problem)
Problem #2) If you double click on a folder, it brings up a "double-vision" view. All files and folders are displayed twice in both the thumbnail window and the left folder list.
Fix #2)
Go to frmresourcelist.html and change line 65:
var sLink = '<a href="#" onclick="OpenFolder(\'' + escape(folderPath) + '\');return false;">' ;
to:
var sLink = '<a href="#" onmousedown="OpenFolder(\'' + escape(folderPath) + '\');return false;">' ;
the mousedown event will trigger the event before the second click occurs.(I tried ondblclick, but that did not work)
Hope this helps any others with this problem.
-Mark
Problem #1) After uploading images, browser window refreshes, but does not display any images or folders (blank screen) Requires manual refresh to get them to redisplay.
Fix #1)
Go to frmupload.html and change line 84:
window.parent.frames['frmResourcesList'].Refresh() ;
to:
top.location.reload(true);
this refreshes the entire window (overkill, but it solves the problem)
Problem #2) If you double click on a folder, it brings up a "double-vision" view. All files and folders are displayed twice in both the thumbnail window and the left folder list.
Fix #2)
Go to frmresourcelist.html and change line 65:
var sLink = '<a href="#" onclick="OpenFolder(\'' + escape(folderPath) + '\');return false;">' ;
to:
var sLink = '<a href="#" onmousedown="OpenFolder(\'' + escape(folderPath) + '\');return false;">' ;
the mousedown event will trigger the event before the second click occurs.(I tried ondblclick, but that did not work)
Hope this helps any others with this problem.
-Mark
RE: 2 simple fixes for MCPUK / Firefox bugs
Now if I could only get thumbnails to work all would be swell..
RE: 2 simple fixes for MCPUK / Firefox bugs
Hold on, these don't work entirely...
The refresh thing works, but will bring you back up to the top level directory. So if you upload into a sub folder the image will go where you want it to, but the display refreshes back to the top requiring you to navigate back down to where you started.
The "double-vision" fix isn't reliable either. Initially it seemed to prevent triggering the function twice, but I'm finding that it can still happen. It does seem to reduce the frequency of this, but it really depends on the speed of the double click.
Back to the drawing board...