Skip to content

Commit

Permalink
Fix to saved graphs with metric that have % in name
Browse files Browse the repository at this point in the history
  • Loading branch information
mleinart committed May 24, 2012
1 parent 6494bf1 commit ff8e1a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/content/js/composer.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ ParameterizedURL.prototype = {

setQueryString: function (qs) {
/* Use the given query string (and update this.params to match) */
this.queryString = qs.replace(/#/,"%23");
this.queryString = qs.replace(/%/,"%25").replace(/#/,"%23");
this.syncParams();
this.syncQueryString();
},
Expand Down

0 comments on commit ff8e1a5

Please sign in to comment.