BPMN Projects import is working now, first part, it is just importing project that doesn't exist in db.

This commit is contained in:
Erik Amaru Ortiz
2014-03-26 20:04:31 -04:00
parent 4f3febe592
commit a9141f16e2
8 changed files with 365 additions and 246 deletions

View File

@@ -1086,7 +1086,11 @@ importProcess = function()
if (resp_.ExistProcessInDatabase == "0") {
if (resp_.ExistGroupsInDatabase == "0") {
var sNewProUid = resp_.sNewProUid;
window.location.href = "processes_Map?PRO_UID=" + sNewProUid;
if (resp_.project_type && resp_.project_type == "bpmn") {
window.location.href = "../designer?prj_uid=" + sNewProUid;
} else {
window.location.href = "processes_Map?PRO_UID=" + sNewProUid;
}
}
else {
importProcessGlobal.sNewProUid = resp_.sNewProUid;