Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
Fix search with ajax on page > 1
Browse files Browse the repository at this point in the history
  • Loading branch information
MrJuliuss committed Mar 17, 2015
1 parent 3eff484 commit c0c60ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Binary file added public/assets/js/dashboard/.base.js.swp
Binary file not shown.
3 changes: 1 addition & 2 deletions public/assets/js/dashboard/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ var ajaxContent = function(url, content, options, useSave)
$(content).empty().html(data.html);
if(typeof url !== "undefined" && url != window.location)
{
window.location.replace(url);
window.history.pushState(data, '', window.location);
window.history.pushState(data, '', this.url);
}

lastAjxOpt = options;
Expand Down

0 comments on commit c0c60ac

Please sign in to comment.