Fix URI encoding of flyout parameters
Closes
//this.flyoutpane.hide();
var flyout_id = data.id;
- var url = this.flyout_url.replace(/\$\{id\}/g, data.id);
+ var url = this.flyout_url.replace(/\$\{id\}/g, encodeURIComponent(data.id));
var ajax_options = {
url: url,
}
else {
id = data['mid'];
- image = flyout_image_url.replace(/\$\{id\}/g, id);
+ image = flyout_image_url.replace(/\$\{id\}/g, encodeURIComponent(id));
}
var desc_text = null;
