Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Get rid of unnecessary double-escape workaround
  • Loading branch information
inducer committed Sep 9, 2015
1 parent 0ef7006 commit 4bb4962
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions synoptic/static/main.js
Expand Up @@ -1006,13 +1006,10 @@ ItemCollectionManager.method("setup_history_handling", function()

ItemCollectionManager.method("get_current_fragment", function()
{
// Need to double-escape because something is preventing unicode characters
// in URLs.

return escape(escape(JSON.stringify({
return escape(JSON.stringify({
query:$("#search").val(),
timestamp:this.view_time
})));
}));
});


Expand Down

0 comments on commit 4bb4962

Please sign in to comment.