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:
Fernando Ontiveros
2011-02-24 22:40:45 +00:00
parent 230c2771e1
commit 5c40fcfe2c
3 changed files with 10 additions and 40 deletions

View File

@@ -652,6 +652,7 @@ var processmap=function(){
r.make();
}.extend(this)} ,
{image:"/images/events.gif",text:G_STRINGS.ID_EVENTS,submenu:[
/*
{image:"/images/event_message.png",text:"start message event",launch:function(event){
this.tmp.editProcessPanel = panel =new leimnud.module.panel();
panel.options={
@@ -711,6 +712,7 @@ var processmap=function(){
}.extend(this,panel);
r.make();
}.extend(this)},
*/
{image:"/images/event_messageThrow.png",text:"intermediate message event",launch:function(event){
this.tmp.eventsPanel = panel =new leimnud.module.panel();
panel.options={
@@ -772,39 +774,7 @@ var processmap=function(){
//Pm.objeto.innerHTML="asdasd";
}.extend(this,panel);
r.make();
}.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)},*/
}.extend(this)}
]}
]
@@ -1212,13 +1182,13 @@ var processmap=function(){
height:13,
position:"absolute"
});
}
/**
* Reviewed by recharge in the process design
*
}
/**
* Reviewed by recharge in the process design
*
*/
/*
/*
if(task.statusIcons){
for(var i=0;i<task.statusIcons.length;i++){
//alert(task.statusIcons[i].icon);
@@ -1240,7 +1210,7 @@ var processmap=function(){
b1.appendChild(icon);
}
}
}
*/
//clip: "rect(0,0,0,0)"
/*if (task.derivation.type==5) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 922 B