theaterurk fix

This commit is contained in:
rulingcom 2013-11-12 12:20:36 +08:00
parent 5f3f27fe9a
commit 528f7d28b9
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ defaults: &defaults
development:
<<: *defaults
database: test_site
database: orbit_site_new
@ -24,4 +24,4 @@ production:
# password: <%= ENV['MONGOID_PASSWORD'] %>
# database: <%= ENV['MONGOID_DATABASE'] %>
<<: *defaults
database: orbit_test_new
database: orbit_site_new

View File

@ -176,7 +176,7 @@ var galleryAPI = function(){
if(rcom.getInternetExplorerVersion() == -1){
if(pageurl!=window.location){
pageurl = window.location.pathname.replace("/","")+"?id="+pageurl+"&controller_action=theater";
pageurl = window.location.pathname+"?id="+pageurl+"&controller_action=theater";
window.history.pushState({path:pageurl},'',pageurl);
}
}else{