Merge branch '2.0' of git.colosa.net:processmaker into 2.0

This commit is contained in:
erik
2011-03-18 19:34:25 -04:00
5 changed files with 12 additions and 8 deletions

1
.gitignore vendored
View File

@@ -1,6 +1,7 @@
.gitignore
nbproject
workflow/engine/config/paths_installed.php
gulliver/thirdparty/html2ps_pdf/cache
*~
workflow/engine/js/labels/
workflow/public_html/files/

View File

@@ -55,9 +55,9 @@ class Ajax
G::LoadClass('pmScript');
G::LoadClass('case');
$PRO_UID = $_SESSION['PROCESS'];
$TAS_UID = $_SESSION['TASK'];
$APP_UID = $_SESSION['APPLICATION'];
$PRO_UID = isset($_SESSION['PROCESS'])?$_SESSION['PROCESS']:'';
$TAS_UID = isset($_SESSION['TASK'])?$_SESSION['TASK']:'';
$APP_UID = isset($_SESSION['APPLICATION'])?$_SESSION['APPLICATION']:'';
$tree = Array();
$case = new Cases;
$step = new Step;

View File

@@ -231,20 +231,23 @@ try {
//Added by Qennix
//Update Start Time Event in BPMN
if (isset($_POST['form']['TAS_UID'])){
require_once 'classes/model/Event.php';
require_once 'classes/model/Task.php';
$oTask = new Task();
$oTask->load($_POST['form']['TAS_UID']);
echo '1';
$evn_uid = $oTask->getStartingEvent();
echo '2'.$evn_uid;
$event = new Event();
$editEvent = array();
$editEvent['EVN_UID'] = $evn_uid;
$editEvent['EVN_ACTION'] = $sch_uid;
$event->update($editEvent);
//End Adding
}
G::header('location: cases_Scheduler_List?PRO_UID='.$_POST['form']['PRO_UID']);

View File

@@ -12,7 +12,7 @@ Ext.onReady(function(){
Ext.QuickTips.init();
showCaseNavigatorPanel = function(steps, information, action) {
if(steps==false&&action==false){
if(steps==false&&action==false&&typeof(treeToReviseTitle)!='undefined'){
var treeToRevise = new Ext.tree.TreePanel({
title: treeToReviseTitle,
width: 250,

View File

@@ -224,8 +224,8 @@ Ext.onReady(function(){
pageSize: pageSize,
store: store,
displayInfo: true,
displayMsg: _('ID_GRID_PAGE_DISPLAYING_CALENDAR_MESSAGE') + '    ',
emptyMsg: _('ID_GRID_PAGE_NO_CALENDAR_MESSAGE')//,
displayMsg: _('ID_GRID_PAGE_DISPLAYING_SKIN_MESSAGE') + '    ',
emptyMsg: _('ID_GRID_PAGE_NO_SKIN_MESSAGE')//,
//items: ['-',_('ID_PAGE_SIZE')+':',comboPageSize]
});