fixing bug 5118, now in old processmap we are using icons and functions for intermediate message event and intermediate timer event for the Events feature
This commit is contained in:
@@ -652,6 +652,7 @@ var processmap=function(){
|
|||||||
r.make();
|
r.make();
|
||||||
}.extend(this)} ,
|
}.extend(this)} ,
|
||||||
{image:"/images/events.gif",text:G_STRINGS.ID_EVENTS,submenu:[
|
{image:"/images/events.gif",text:G_STRINGS.ID_EVENTS,submenu:[
|
||||||
|
/*
|
||||||
{image:"/images/event_message.png",text:"start message event",launch:function(event){
|
{image:"/images/event_message.png",text:"start message event",launch:function(event){
|
||||||
this.tmp.editProcessPanel = panel =new leimnud.module.panel();
|
this.tmp.editProcessPanel = panel =new leimnud.module.panel();
|
||||||
panel.options={
|
panel.options={
|
||||||
@@ -711,6 +712,7 @@ var processmap=function(){
|
|||||||
}.extend(this,panel);
|
}.extend(this,panel);
|
||||||
r.make();
|
r.make();
|
||||||
}.extend(this)},
|
}.extend(this)},
|
||||||
|
*/
|
||||||
{image:"/images/event_messageThrow.png",text:"intermediate message event",launch:function(event){
|
{image:"/images/event_messageThrow.png",text:"intermediate message event",launch:function(event){
|
||||||
this.tmp.eventsPanel = panel =new leimnud.module.panel();
|
this.tmp.eventsPanel = panel =new leimnud.module.panel();
|
||||||
panel.options={
|
panel.options={
|
||||||
@@ -772,39 +774,7 @@ var processmap=function(){
|
|||||||
//Pm.objeto.innerHTML="asdasd";
|
//Pm.objeto.innerHTML="asdasd";
|
||||||
}.extend(this,panel);
|
}.extend(this,panel);
|
||||||
r.make();
|
r.make();
|
||||||
}.extend(this)},
|
}.extend(this)}
|
||||||
{image:"/images/event_timer.png",text:" intermediate Boundary timer event",launch:function(event){}.extend(this)}
|
|
||||||
/* {image:"/images/event_messageThrow.png",text:"end message event",launch:function(event){
|
|
||||||
this.tmp.eventsPanel = panel =new leimnud.module.panel();
|
|
||||||
panel.options={
|
|
||||||
limit :true,
|
|
||||||
size :{w:700,h:380},
|
|
||||||
position:{x:50,y:50,center:true},
|
|
||||||
title :G_STRINGS.ID_EVENT_MESSAGE,
|
|
||||||
theme :this.options.theme,
|
|
||||||
control :{close:true,resize:false},fx:{modal:true},
|
|
||||||
statusBar:false,
|
|
||||||
fx :{shadow:true,modal:true}
|
|
||||||
};
|
|
||||||
panel.make();
|
|
||||||
panel.loader.show();
|
|
||||||
var r = new leimnud.module.rpc.xmlhttp({
|
|
||||||
url:this.options.dataServer,
|
|
||||||
args:"action=events&data="+{
|
|
||||||
pro_uid :this.options.uid,
|
|
||||||
type:"message"
|
|
||||||
}.toJSONString()
|
|
||||||
});
|
|
||||||
r.callback=function(rpc,panel)
|
|
||||||
{
|
|
||||||
panel.loader.hide();
|
|
||||||
var scs = rpc.xmlhttp.responseText.extractScript();
|
|
||||||
panel.addContent(rpc.xmlhttp.responseText);
|
|
||||||
scs.evalScript();
|
|
||||||
//Pm.objeto.innerHTML="asdasd";
|
|
||||||
}.extend(this,panel);
|
|
||||||
r.make();
|
|
||||||
}.extend(this)},*/
|
|
||||||
]}
|
]}
|
||||||
|
|
||||||
]
|
]
|
||||||
@@ -1212,13 +1182,13 @@ var processmap=function(){
|
|||||||
height:13,
|
height:13,
|
||||||
position:"absolute"
|
position:"absolute"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reviewed by recharge in the process design
|
* Reviewed by recharge in the process design
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
if(task.statusIcons){
|
if(task.statusIcons){
|
||||||
for(var i=0;i<task.statusIcons.length;i++){
|
for(var i=0;i<task.statusIcons.length;i++){
|
||||||
//alert(task.statusIcons[i].icon);
|
//alert(task.statusIcons[i].icon);
|
||||||
@@ -1240,7 +1210,7 @@ var processmap=function(){
|
|||||||
b1.appendChild(icon);
|
b1.appendChild(icon);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
//clip: "rect(0,0,0,0)"
|
//clip: "rect(0,0,0,0)"
|
||||||
/*if (task.derivation.type==5) {
|
/*if (task.derivation.type==5) {
|
||||||
|
|||||||
BIN
workflow/public_html/images/event_messageThrow.png
Executable file
BIN
workflow/public_html/images/event_messageThrow.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
workflow/public_html/images/event_timer.png
Executable file
BIN
workflow/public_html/images/event_timer.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 922 B |
Reference in New Issue
Block a user