Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
BZ 1283135 - Changing of task type does not trigger Save dialogue
Browse files Browse the repository at this point in the history
Conflicts:

	jbpm-designer-client/src/main/resources/org/jbpm/designer/public/js/Plugins/saveplugin.js
  • Loading branch information
Tihomir Surdilovic authored and csadilek committed Jan 4, 2016
1 parent 1e290a2 commit 70ff0d8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Expand Up @@ -152,6 +152,8 @@ ORYX.Plugins.SavePlugin = Clazz.extend({
this.facade.registerOnEvent(ORYX.CONFIG.EVENT_SHAPE_ADDED, this.setUnsaved.bind(this));
this.facade.registerOnEvent(ORYX.CONFIG.EVENT_SHAPE_CREATED, this.setUnsaved.bind(this));
this.facade.registerOnEvent(ORYX.CONFIG.EVENT_SHAPE_DELETED, this.setUnsaved.bind(this));
this.facade.registerOnEvent(ORYX.CONFIG.EVENT_UPDATE_TASK_TYPE, this.setUnsaved.bind(this));



this.facade.registerOnEvent(ORYX.CONFIG.EVENT_DO_SAVE, this.handleEventDoSave.bind(this));
Expand Down
Expand Up @@ -968,6 +968,10 @@ ORYX.Plugins.ShapeMenuPlugin = {
type: ORYX.CONFIG.EVENT_LOADED,
elements: [shape]
});

this.facade.raiseEvent({
type: ORYX.CONFIG.EVENT_UPDATE_TASK_TYPE
});
}
},

Expand Down
Expand Up @@ -301,6 +301,7 @@ ORYX.CONFIG.EVENT_SIMULATION_ANNOTATE_PROCESS = "simulation.annotateprocess";
ORYX.CONFIG.EVENT_SIMULATION_SHOW_ANNOTATED_PROCESS = "simulation.showannotatedprocess";
ORYX.CONFIG.EVENT_NOTIFICATION_SHOW = "notification.show";
ORYX.CONFIG.EVENT_DEF_DELETED = "notification.def.deleted";
ORYX.CONFIG.EVENT_UPDATE_TASK_TYPE = "updatetaskevent";

// paint
ORYX.CONFIG.EVENT_PAINT_NEWSHAPE = "paint.newshape";
Expand Down

0 comments on commit 70ff0d8

Please sign in to comment.