Skip to content

Commit

Permalink
Changed exportData so it does not break with url length
Browse files Browse the repository at this point in the history
  • Loading branch information
webdetails-build-bot committed Nov 5, 2012
1 parent 707e6a4 commit 889e330
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bi-platform-v2-plugin/cdf/js/Dashboards.js
Expand Up @@ -2052,10 +2052,16 @@ Query = function() {
queryDefinition.settingdtSearchableColumns = options.dtSearchableColumns;
}
}

var theDoQuery = CDA_PATH + $.param(queryDefinition);
$.post(theDoQuery, function(uuid) {
_exportIframe = _exportIframe || $('<iframe style="display:none">');
_exportIframe.detach();
_exportIframe[0].src = CDA_PATH + $.param(queryDefinition);
_exportIframe[0].src = webAppPath + '/content/cda/unwrapQuery?' + $.param( {"path": queryDefinition.path, "uuid": uuid});
_exportIframe.appendTo($('body'));
});


}

this.fetchData = function(params, callback) {
Expand Down

0 comments on commit 889e330

Please sign in to comment.