Author: jfthomps
Date: Mon May  7 20:26:58 2012
New Revision: 1335240

URL: http://svn.apache.org/viewvc?rev=1335240&view=rev
Log:
VCL-567
image profile page does not reflect owner change after changing the owner

images.php: modified viewImages - (missed this in the last commit) changed 
check for $mode being submitEditImage to passing a continuation variable to 
specify when to display "Image successfully updated"


Modified:
    incubator/vcl/trunk/web/.ht-inc/images.php

Modified: incubator/vcl/trunk/web/.ht-inc/images.php
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/images.php?rev=1335240&r1=1335239&r2=1335240&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/images.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/images.php Mon May  7 20:26:58 2012
@@ -118,6 +118,7 @@ function viewImages() {
        $showdeleted = getContinuationVar("showdeleted", 0);
        $deleted = getContinuationVar("deleted");
        $details = processInputVar("details", ARG_NUMERIC);
+       $showimageupdated = getContinuationVar('showimageupdated', 0);
 
        if($showdeleted) {
                $images = getImages(1);
@@ -143,7 +144,7 @@ function viewImages() {
                        print "state</font><br><br>\n";
                }
        }
-       elseif($mode == "submitEditImage") {
+       elseif($showimageupdated) {
                print "<font color=\"#008000\">Image successfully updated";
                print "</font><br><br>\n";
        }


Reply via email to