Thanks for reporting that issue ... to be honest no one haven't tested OFB with IE7 so I don't have any suggestion at the moment. But I'm going to install it on my computer during weekend, maybe after that I'll be able to help you somehow.
btw, is there anyone else who was using OFB on IE7 and experienced the same problems?
-- Cheers, Marek
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
// relative path is set when link comes from tray
if (Browser.showDetails.arguments.length == 2) {
entry = this.getFromTray(relativePath);
} else {
if (this.entries == null) return;
entry = this.getEntryByName(entryName);
}
if (entry == null) { return; }
var content = new Array();
var counter = 0;
var image = '';
if (entry.thumbnail) {
image = Builder.node('img',{className:'thumbnail', id:'thumbnailImage', border:2});
// preload image and then call back function
new ImagePreloader('index.php?action=GetThumbnail&filename=' + this.preparePath(entry.relativePath), this.onPreloadThumbnail);
this.log(1, "[Browser.showDetails] " + 'index.php?action=GetThumbnail&filename=' + this.preparePath(entry.relativePath));
}
On IE7 the thumbnail doesn't appear on the 2nd click on the filename.
This behaviour can also be seen in the current demo on the projects homepage.
Anyone found a solution ?
Alex
Hello Alex,
Thanks for reporting that issue ... to be honest no one haven't tested OFB with IE7 so I don't have any suggestion at the moment. But I'm going to install it on my computer during weekend, maybe after that I'll be able to help you somehow.
btw, is there anyone else who was using OFB on IE7 and experienced the same problems?
-- Cheers, Marek
Hey Marek,
Yes, also testing it on IE7 and also encounterd the same problems.
Regards, Maartem
Hi,
I have same problems width IE7. Anyone have patch it?
Regards.
I checked to see if it was a thumbnail issue, but alas it is not.
pretty sure its in browser.js
showDetails: function(entryName, relativePath) {
entryName = unescape(entryName);
relativePath = unescape(relativePath);
this.log(2, "[Browser.showDetails] " + entryName);
var entry = null;
// relative path is set when link comes from tray
if (Browser.showDetails.arguments.length == 2) {
entry = this.getFromTray(relativePath);
} else {
if (this.entries == null) return;
entry = this.getEntryByName(entryName);
}
if (entry == null) { return; }
var content = new Array();
var counter = 0;
var image = '';
this.log(1, "[Browser.showDetails] entry.thumbnail: " + entry.thumbnail);
if (entry.thumbnail) {
image = Builder.node('img',{className:'thumbnail', id:'thumbnailImage', border:2});
// preload image and then call back function
new ImagePreloader('index.php?action=GetThumbnail&filename=' + this.preparePath(entry.relativePath), this.onPreloadThumbnail);
this.log(1, "[Browser.showDetails] " + 'index.php?action=GetThumbnail&filename=' + this.preparePath(entry.relativePath));
}
var maxNameLength = 25;
if (entry.name.length > maxNameLength) {
content[counter++] = Builder.node('li', this.getLabel('js_details_name') + " " + this.truncate(entry.name,maxNameLength) );
} else {
content[counter++] = Builder.node('li', this.getLabel('js_details_name') + " " + entry.name);
}
content[counter++] = Builder.node('li', this.getLabel('js_details_size') + " " + this.getHumanRedableSize(entry.size));
content[counter++] = Builder.node('li', [this.getLabel('js_details_last_mod'), Builder.node('div', entry.lastModify)], "" );
content[counter++] = Builder.node('li', this.getLabel('js_details_permissions') + " " + entry.permissions);
// remove old data
this.removeAllHTMLChildren(this.details);
// dispaly data
var basicInfo = Builder.node('ul',{className:''},content);
if (entry.thumbnail) { this.details.appendChild(image); }
this.details.appendChild(basicInfo);
},