BUG 9777 PM 2.0.44 testing 1 / External Registration - Exportar Proceso en Popup SOLVED

- Used window.open
- Change to window.location
This commit is contained in:
Julio Cesar Laura
2012-09-17 17:32:53 -04:00
parent 1d351cc97d
commit d4c51dcade

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) {