community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1731108 - /comdev/helpwanted.apache.org/site/js/hw.js
Date Thu, 18 Feb 2016 18:27:45 GMT
Author: humbedooh
Date: Thu Feb 18 18:27:45 2016
New Revision: 1731108

URL: http://svn.apache.org/viewvc?rev=1731108&view=rev
Log:
don't go to #hwrtable if in admin area

Modified:
    comdev/helpwanted.apache.org/site/js/hw.js

Modified: comdev/helpwanted.apache.org/site/js/hw.js
URL: http://svn.apache.org/viewvc/comdev/helpwanted.apache.org/site/js/hw.js?rev=1731108&r1=1731107&r2=1731108&view=diff
==============================================================================
--- comdev/helpwanted.apache.org/site/js/hw.js (original)
+++ comdev/helpwanted.apache.org/site/js/hw.js Thu Feb 18 18:27:45 2016
@@ -386,7 +386,10 @@ function displayItems(json, state) {
     }
     tbl += "</table>"
     obj.innerHTML += tbl
-    location.hash = '#hwrtable'
+    if (location.href.search('admin') == -1) {
+        location.hash = '#hwrtable'
+    }
+    
 }
 
 function fetchItems(languages, types, projects, sortBy) {



Mime
View raw message