This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 19 - Pages: 2 [ Previous | 1 2 ] - Last Post: 11-Oct-2017 23:12 Last Post By: gcolin
gcolin

Posts: 78
Registered: 3-May-2008
Re: Tiger
Posted: 09-Oct-2017 23:04   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Ok thanks
Laza

Posts: 9,472
Registered: 6-Sep-2005
Re: Tiger
Posted: 10-Oct-2017 12:32   in response to: gcolin in response to: gcolin
 
  Click to reply to this thread Reply
Really odd - with the new JS file if the error happens it should read "«UI.relativePath» is not defined...".

Are you sure you saved into the real skin folder? There might be 2 (an older one in the Program Files folder). Use Tools / Open directories / Skin directory. Also make sure you are saving the file into the "lib" subfolder of the skin directory.
gcolin

Posts: 78
Registered: 3-May-2008
Re: Tiger
Posted: 10-Oct-2017 23:58   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Attachment util.jpeg (87,1 KB)
Hi Laza

i reload ans reinstall jalbum and tiger, reload et reinstal the new JS File in lib subfolder, using skin directory..

After this, I restart jalbum & make album

Always the same problem
Stack trace for jAlbum 14.1.10 using skin Tiger 1.4.0:

se.datadosen.util.ScriptException: ReferenceError: "FileFilters" is not defined in predir.js at line number 3296
at se.datadosen.util.ScriptException.of(ScriptException.java:58)
at se.datadosen.jalbum.AlbumBean.processScript(AlbumBean.java:2356)
at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1353)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2646)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2564)
at se.datadosen.jalbum.JAlbumFrame$10.run(JAlbumFrame.java:1062)
Laza

Posts: 9,472
Registered: 6-Sep-2005
Re: Tiger
Posted: 11-Oct-2017 08:16   in response to: gcolin in response to: gcolin
 
  Click to reply to this thread Reply
Attachment util.js (90,3 KB)
This is a different error now, and now I fixed this too. Sorry, this code part that tries to calculate the folder icon when no folder image is selected comes from Turtle's Java, which is replaced by JavaScript now, and has a slightly different syntax, e.g. you have to import all Java libraries, which was not the case in Java.
gcolin

Posts: 78
Registered: 3-May-2008
Re: Tiger
Posted: 11-Oct-2017 23:12   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Hi With the last util.js file everything is wright. thanks for your help

GĂ©rard
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums