designer improvements:

* BPMN toolbar alway visible is ready, was  synchronized with the scrollsbars
* BPMN toolbar is minimizable now
* saveProcess() was fixed in the parent of designer iframe
* notify after saveProcess was added (here the func _('ANY_LABEL') for translations is used )
This commit is contained in:
Erik Amaru Ortiz
2011-02-08 16:59:59 +00:00
parent 96de17aec0
commit 4f08b2468d
3 changed files with 132 additions and 24 deletions

View File

@@ -122,9 +122,15 @@ try{
$routesArray = $oProcess->createGateways($routeTransitions,$endArray,$oData->routes,$numberRoutes,$idProcess,$taskHidden);
$oData->routes = $routesArray;
}
$oProcess->updateProcessFromDataXpdl($oData,$oData->tasks);
}
catch (Exception $oException) {
die($oException->getMessage());
}
$result->success = true;
$result->msg = G::LoadTranslation('ID_PROCESS_SAVE_SUCCESS');
} catch (Exception $e) {
$result->success = false;
$result->msg = $e->getMessage();
}
print G::json_encode($result);