WIP refactor api - export csv refactorings so its just an extra parameter to reports resource (looking very nice)
This commit is contained in:
+1
-2
@@ -1104,8 +1104,7 @@ function getExportCSV(inParams) {
|
||||
//paramCount = paramCount + 1;
|
||||
}
|
||||
|
||||
//var fullExportUrl = RESTUrl + inQueryParameters + "&exportCSV=true";
|
||||
var fullExportUrl = RESTUrl + "/exportjpw" + inQueryParameters;
|
||||
var fullExportUrl = RESTUrl + inQueryParameters + "&exportCSV=true";
|
||||
showMsg("full export url: " + fullExportUrl);
|
||||
var loadHTML = '<iframe id=rptLoadingFrame src="' + fullExportUrl + '" frameborder="0" onload="jQuery.stretchyReporting.clearLoadingImg();" width="100%" height="600px" style="background:url(';
|
||||
loadHTML += "'" + loadingImg + "'" + ') no-repeat scroll 50% 100px;"><p>Your browser does not support iframes.</p></iframe>';
|
||||
+1
-1
@@ -16,6 +16,6 @@
|
||||
<script type="text/javascript" src="${resValue}/libs/DataTables-1.8.2/extras/TableTools/media/js/TableTools.min.js"></script>
|
||||
<script type="text/javascript" src="${resValue}/libs/jquery.i18n.properties-min-1.0.9.js"></script>
|
||||
<script type="text/javascript" src="${resValue}/libs/OAuthSimple.js"></script>
|
||||
<script type="text/javascript" src="${resValue}/stretchyreporting/stretchyreporting-0.965.js"></script>
|
||||
<script type="text/javascript" src="${resValue}/stretchyreporting/stretchyreporting-0.966.js"></script>
|
||||
|
||||
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
|
||||
|
||||
Reference in New Issue
Block a user