fix error in New Process button when version is not greater or equal to 3

This commit is contained in:
Fernando Ontiveros
2025-06-19 07:15:18 -04:00
parent eeb4064a9c
commit a4668fb5e3
2 changed files with 2 additions and 22 deletions

View File

@@ -231,27 +231,12 @@ Ext.onReady(function(){
}
};
var mnuNewProject = {
text: _("ID_NEW_PROJECT"),
iconCls: "silk-add",
icon: "",
pmTypeProject: "classicProject",
handler: function ()
{
newProcess({type: "classicProject"});
}
};
var arrayMenuNewOption = [];
if (typeof(arrayFlagMenuNewOption["bpmn"]) != "undefined") {
arrayMenuNewOption.push(mnuNewBpmnProject);
}
//if (typeof(arrayFlagMenuNewOption["pm"]) != "undefined") {
// arrayMenuNewOption.push(mnuNewProject);
//}
for (i = 0; i <= arrayMenuNewOptionPlugin.length - 1; i++) {
try {
if (typeof(arrayMenuNewOptionPlugin[i].handler) != "undefined") {