Merge pull request #568 from julceslauhub/master

BUG 9777 PM 2.0.44 testing 1 / External Registration - Exportar Proceso en Popup SOLVED
This commit is contained in:
julceslauhub
2012-09-17 14:34:58 -07:00

View File

@@ -673,11 +673,10 @@ function exportProcess() {
success: function (response, opts) {
myMask.hide();
///////
var dataResponse = eval("(" + response.responseText + ")"); //json
var url = window.location.href;
window.open(url.substring(0, url.lastIndexOf("/") + 1) + dataResponse.FILENAME_LINK, "_blank");
window.location = url.substring(0, url.lastIndexOf("/") + 1) + dataResponse.FILENAME_LINK;
},
failure: function (response, opts) {