BUG 8276 was removed 'Discriminator' from the process map toolbar
This commit is contained in:
@@ -195,7 +195,7 @@ var processmap=function(){
|
|||||||
panel = this.panels.toolbar=new leimnud.module.panel();
|
panel = this.panels.toolbar=new leimnud.module.panel();
|
||||||
this.panels.toolbar.options={
|
this.panels.toolbar.options={
|
||||||
limit :true,
|
limit :true,
|
||||||
size :{w:260,h:31},
|
size :{w:220,h:31},
|
||||||
position:{x:this.options.target.clientWidth-278,y:4},
|
position:{x:this.options.target.clientWidth-278,y:4},
|
||||||
title :"",
|
title :"",
|
||||||
theme :"processmaker",
|
theme :"processmaker",
|
||||||
@@ -264,23 +264,23 @@ var processmap=function(){
|
|||||||
ini.title = "Starting task";
|
ini.title = "Starting task";
|
||||||
div.appendChild(ini);
|
div.appendChild(ini);
|
||||||
|
|
||||||
var dis = document.createElement("img");
|
/*var dis = document.createElement("img");
|
||||||
dis.src = this.options.images_dir+"8.gif";
|
dis.src = this.options.images_dir+"8.gif";
|
||||||
dis.title = "Discriminator";
|
dis.title = "Discriminator";
|
||||||
div.appendChild(dis);
|
div.appendChild(dis);*/
|
||||||
|
|
||||||
[dr1,dr2,dr3,dr4,dr5,dr6,fin,ini,dis].map(function(el){
|
[dr1,dr2,dr3,dr4,dr5,dr6,fin,ini/*,dis*/].map(function(el){
|
||||||
el.className ="processmap_toolbarItem___"+this.options.theme
|
el.className ="processmap_toolbarItem___"+this.options.theme
|
||||||
}.extend(this));
|
}.extend(this));
|
||||||
this.dragables.derivation = new this.parent.module.drag({ //Add to enable dragging of image from panel
|
this.dragables.derivation = new this.parent.module.drag({ //Add to enable dragging of image from panel
|
||||||
elements:[dr1,dr2,dr3,dr4,dr5,dr6,fin,ini,dis],
|
elements:[dr1,dr2,dr3,dr4,dr5,dr6,fin,ini/*,dis*/],
|
||||||
fx:{
|
fx:{
|
||||||
type : "clone",
|
type : "clone",
|
||||||
target : this.panels.editor.elements.content,
|
target : this.panels.editor.elements.content,
|
||||||
zIndex : 11
|
zIndex : 11
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.dragables.derivation.typesDerivation=["simple","double","conditional","conditional1","conditional2","conditional3","final","initial","discriminator"];
|
this.dragables.derivation.typesDerivation=["simple","double","conditional","conditional1","conditional2","conditional3","final","initial"/*,"discriminator"*/];
|
||||||
this.dragables.derivation.events={
|
this.dragables.derivation.events={
|
||||||
init :[function(){
|
init :[function(){
|
||||||
this.dragables.derivation.noDrag=true;
|
this.dragables.derivation.noDrag=true;
|
||||||
@@ -306,7 +306,7 @@ var processmap=function(){
|
|||||||
};
|
};
|
||||||
this.dragables.derivation.make();
|
this.dragables.derivation.make();
|
||||||
//drg.options.elements=[];
|
//drg.options.elements=[];
|
||||||
this.parent.dom.setStyle([dr1,dr2,dr3,dr4,dr5,dr6,fin,ini,dis],{
|
this.parent.dom.setStyle([dr1,dr2,dr3,dr4,dr5,dr6,fin,ini/*,dis*/],{
|
||||||
cursor:"move"
|
cursor:"move"
|
||||||
});
|
});
|
||||||
panel.loader.hide();
|
panel.loader.hide();
|
||||||
|
|||||||
Reference in New Issue
Block a user