BUG 8942 Dialog box to edit conditions ... is too narrow SOLVED
- This problem was resolved, at the same time was resolved a problem with the confirmation window.
This commit is contained in:
@@ -919,6 +919,7 @@ var processmap=function(){
|
||||
if(deri.type===5 || deri.type===8)
|
||||
{
|
||||
var toTask = this.data.db.task[this.tools.getIndexOfUid(deri.to[i].task)];
|
||||
if (typeof(toTask) != 'undefined') {
|
||||
toTask.object.inJoin = toTask.object.inJoin-1;
|
||||
if(toTask.object.inJoin===0)
|
||||
{
|
||||
@@ -930,6 +931,7 @@ var processmap=function(){
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
this.parent.dom.setStyle(task.object.elements.derivation,{
|
||||
background:""
|
||||
});
|
||||
@@ -2207,7 +2209,7 @@ var processmap=function(){
|
||||
iHeight = 350;
|
||||
break;
|
||||
case 4:
|
||||
iWidth = 500;
|
||||
iWidth = 600;
|
||||
iHeight = 350;
|
||||
break;
|
||||
case 5:
|
||||
@@ -2227,7 +2229,7 @@ var processmap=function(){
|
||||
position:{x:50,y:50,center:true},
|
||||
title :G_STRINGS.ID_PROCESSMAP_WORKFLOW_PATTERNS+": "+task.label,
|
||||
theme :this.options.theme,
|
||||
control :{close:true,resize:false},
|
||||
control :{close:true,resize:true},
|
||||
fx :{modal:true}
|
||||
};
|
||||
panel.make();
|
||||
|
||||
@@ -39,6 +39,7 @@ leimnud.event.add(getField('ROU_NEXT_TASK'), 'change', modified);
|
||||
//leimnud.event.add(getField('ROU_TO_LAST_USER'), 'change', modified);
|
||||
Pm.tmp.derivationsPanel.events.remove = function() {
|
||||
if (bModified) {
|
||||
Pm.tmp.derivationsPanel.inRemove = false;
|
||||
Pm.tmp.derivationsPanel.cancelClose=true;
|
||||
new leimnud.module.app.confirm().make({
|
||||
label: G_STRINGS.ID_SAVE_DERIVATION_RULES_BEFORE_CLOSING,
|
||||
@@ -46,7 +47,7 @@ Pm.tmp.derivationsPanel.events.remove = function() {
|
||||
Pm.tmp.derivationsPanel.cancelClose=false;
|
||||
bModified = false;
|
||||
getField('SAVE').onclick();
|
||||
}.extend(this),
|
||||
},
|
||||
cancel: function() {
|
||||
Pm.tmp.derivationsPanel.cancelClose=false;
|
||||
bModified = false;
|
||||
|
||||
@@ -41,6 +41,7 @@ leimnud.event.add(getField('ROU_NEXT_TASK'), 'change', modified);
|
||||
//leimnud.event.add(getField('ROU_TO_LAST_USER'), 'change', modified);
|
||||
Pm.tmp.derivationsPanel.events.remove = function() {
|
||||
if (bModified) {
|
||||
Pm.tmp.derivationsPanel.inRemove = false;
|
||||
Pm.tmp.derivationsPanel.cancelClose=true;
|
||||
new leimnud.module.app.confirm().make({
|
||||
label: G_STRINGS.ID_SAVE_DERIVATION_RULES_BEFORE_CLOSING,
|
||||
@@ -48,7 +49,7 @@ Pm.tmp.derivationsPanel.events.remove = function() {
|
||||
Pm.tmp.derivationsPanel.cancelClose=false;
|
||||
bModified = false;
|
||||
getField('SAVE').onclick();
|
||||
}.extend(this),
|
||||
},
|
||||
cancel: function() {
|
||||
Pm.tmp.derivationsPanel.cancelClose=false;
|
||||
bModified = false;
|
||||
|
||||
Reference in New Issue
Block a user