trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1086823 - in /trafficserver/site/branches/ats-cms: content/docs/trunk/admin/traffic-line-commands/index.en.mdtext lib/view.pm
Date Wed, 30 Mar 2011 02:27:41 GMT
Author: amc
Date: Wed Mar 30 02:27:41 2011
New Revision: 1086823

URL: http://svn.apache.org/viewvc?rev=1086823&view=rev
Log:
Fixed auto nav use bug

Modified:
    trafficserver/site/branches/ats-cms/content/docs/trunk/admin/traffic-line-commands/index.en.mdtext
    trafficserver/site/branches/ats-cms/lib/view.pm

Modified: trafficserver/site/branches/ats-cms/content/docs/trunk/admin/traffic-line-commands/index.en.mdtext
URL: http://svn.apache.org/viewvc/trafficserver/site/branches/ats-cms/content/docs/trunk/admin/traffic-line-commands/index.en.mdtext?rev=1086823&r1=1086822&r2=1086823&view=diff
==============================================================================
--- trafficserver/site/branches/ats-cms/content/docs/trunk/admin/traffic-line-commands/index.en.mdtext
(original)
+++ trafficserver/site/branches/ats-cms/content/docs/trunk/admin/traffic-line-commands/index.en.mdtext
Wed Mar 30 02:27:41 2011
@@ -15,7 +15,7 @@ Notice:    Licensed to the Apache Softwa
            KIND, either express or implied.  See the License for the
            specific language governing permissions and limitations
            under the License.
-Navigation: [Next](*)
+Navigation: [*](*)
             [SDK](../sdk/index.en.html)
 
 

Modified: trafficserver/site/branches/ats-cms/lib/view.pm
URL: http://svn.apache.org/viewvc/trafficserver/site/branches/ats-cms/lib/view.pm?rev=1086823&r1=1086822&r2=1086823&view=diff
==============================================================================
--- trafficserver/site/branches/ats-cms/lib/view.pm (original)
+++ trafficserver/site/branches/ats-cms/lib/view.pm Wed Mar 30 02:27:41 2011
@@ -419,7 +419,7 @@ sub auto_nav {
 	if (!$back_url && $idx > 0) {
 	    $back_url = right_leaf($entry->{path}, $order->[$idx-1], $lang, $entry->{rpath});
 	}
-	last if ($next_url and $back_url);
+	last if $next_url and $back_url;
     }
 
     my $top = $chain->[$#$chain];



Mime
View raw message