From 33c25fef5317c2abfbe0fb5527bac9f1d278cd71 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Paour Date: Wed, 18 Aug 2004 00:17:19 +0000 Subject: [PATCH] 2004-08-17 Pierre-Luc Paour (1.4.1-b9) * Fixed redirect testing after upload in applet. --- ChangeLog | 4 ++++ com/gallery/GalleryRemote/GRAppletMini.java | 2 +- defaults.properties | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cb30f27..96438a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-08-17 Pierre-Luc Paour (1.4.1-b9) + + * Fixed redirect testing after upload in applet. + 2004-08-17 Pierre-Luc Paour (1.4.1-b8) * Fixed duplicate root album in New Album dialog on G2. diff --git a/com/gallery/GalleryRemote/GRAppletMini.java b/com/gallery/GalleryRemote/GRAppletMini.java index 499bea1..5227cfa 100644 --- a/com/gallery/GalleryRemote/GRAppletMini.java +++ b/com/gallery/GalleryRemote/GRAppletMini.java @@ -145,7 +145,7 @@ public void setInProgress(boolean inProgress) { // probably finished uploading... try { // no update for G2 and for embedded applets (non-embedded applets are TYPE_STANDALONE) - if (! (gallery.getComm(null) instanceof GalleryComm2_5) && gallery.getType() == Gallery.TYPE_APPLET) { + if (! (gallery.getComm(null) instanceof GalleryComm2_5) && gallery.getType() != Gallery.TYPE_APPLET) { getAppletContext().showDocument(new URL(getCodeBase().toString() + "add_photos_refresh.php"), "hack"); } } catch (MalformedURLException e1) { diff --git a/defaults.properties b/defaults.properties index 1e5d191..5857907 100644 --- a/defaults.properties +++ b/defaults.properties @@ -234,6 +234,6 @@ updateUrlBeta=http://gallery.sourceforge.net/gallery_remote_version_check_beta.p # # --- Do not edit below this line --- # -version=1.4.1-b8 +version=1.4.1-b9 releaseDate=2004/08/17 aboutText=Gallery Remote\n \n \nA part of the Gallery Open-Source Project\nhttp://gallery.sourceforge.net\n \n \nMaintained by:\n \nPierre-Luc Paour\n \n \nInitial version by Chris Smith\n \n \nContributors:\n \nTim Miller\nDolan Halbrook\nMarkus Cozowicz\nScott Gartner\nAmedeo Paglione\nChris Schwerdt\n \n \nArtwork by Ross A. Reyman\n \n \nBundled software:\n \nImageMagick\nJSX\nJava look and feel Graphics Repository icons\njpegtran, Guido Vollbeding's version\nMetadataExtractor