Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to add multiple document in one go?
#11
(10-19-2011, 03:29 AM)simonbaev Wrote:
(10-19-2011, 12:26 AM)steinm Wrote: That looks like a bug in letodms. Taking that getPath() Error into accout it looks like the folder id isn't passed propperly to the server. What browser are you using? Can you try a different one?

This error happens when I'm using Chrome (14.0.835.202) under Ubuntu (11.10). Any time I click on a thumbnail of the uploaded file a new entry of the mentioned kind is added to php.log Moreover, the form allowing me to fill up properties of the document (name, comment, version, etc) is not showing up. And button "Set" also is not showing.

When I open this same website from Chrome (14.0.835.202 m) on Win7 it doesn't add any entry into php.log and shows the properties form along with "Set" button... but it seems to be not responding as nothing happens when I click on it.

In IE9 on Win7 the button seems to be clickable but again nothing happens in turn.

Is there any other logs (except php.log and apache2/error.log) I should look to identify the problem?

PS: Also, on another Ubuntu (11.04) installation I'm not able to run the applet as Chrome reports about "missing plugin"... what plugin could be missing? I can confirm that OpenJDK is installed so JRE is present.

I could reproduce the bug and actually don't know why it has once worked, but it did.
Try the following fix.

Open inc/inc.ClassUI.php, search for the javascript function dumpAllFileAttributes() and replace it with

Code:
function dumpAllFileAttributes() {
         var content = "";
         var uploader = document.jumpLoaderApplet.getUploader();
         var files = uploader.getAllFiles();
         var file = getSelectedFile();
         if(file) {
           for (var i = 0; i < uploader.getFileCount() ; i++) {
             if(uploader.getFile(i).getIndex() == file.getIndex())
               content += listFileAttributes( uploader.getFile(i), 1, i );
             else
               content += listFileAttributes( uploader.getFile(i), 0, i );
           }
           document.getElementById( "fileList" ).innerHTML = content;
         }
    }

Uwe
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)