Skip to content

Commit ffaa3d2

Browse files
authored
Merge pull request #2911 from graphite-project/copilot/fix-cache-bug-2885
Fix single quotes in dashboard targets being replaced with double quotes
2 parents 2dcbb33 + ddee724 commit ffaa3d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webapp/content/js/dashboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1875,7 +1875,7 @@ function graphClicked(graphView, graphIndex, element, evt) {
18751875

18761876
function syncGraphs(thisStore, record, operation) {
18771877
var targets = [];
1878-
thisStore.each(function (rec) { targets.push(rec.data.target.replace(/'/g, '"')); });
1878+
thisStore.each(function (rec) { targets.push(rec.data.target); });
18791879
selectedRecord.data.params.target = targets;
18801880
selectedRecord.data.target = Ext.urlEncode({target: targets});
18811881
refreshGraphs();

0 commit comments

Comments
 (0)