Skip to content

Commit

Permalink
Merge branch 'master' into 2.5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
pstoellberger committed Jun 28, 2013
2 parents 0f87ceb + 339b281 commit 24348ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/saiku/views/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ var Table = Backbone.View.extend({
var dimsel = {};
var used_levels = [];

self.workspace.query.action.get("/axis/" + axis + "/dimension/" + d, {
self.workspace.query.action.get("/axis/" + axis + "/dimension/" + encodeURIComponent(d), {
success: function(response, model) {
dimsel = model;
},
Expand Down Expand Up @@ -184,10 +184,10 @@ var Table = Backbone.View.extend({
}
return {
callback: function(key, options) {
var url = '/axis/' + axis + '/dimension/' + d;
var url = '/axis/' + axis + '/dimension/' + encodeURIComponent(d);
var children = false;
if (key.indexOf("children") > 0) {
url = '/axis/' + axis + '/dimension/' + d + "/children";
url = '/axis/' + axis + '/dimension/' + encodeURIComponent(d) + "/children";
children = true;
}
if (children) {
Expand Down

0 comments on commit 24348ec

Please sign in to comment.