Skip to content

Commit

Permalink
regression(workflow) this fixes a bug that was introduced when we add…
Browse files Browse the repository at this point in the history
…ed the idea of batch workflow actionlets (#30226)

ref: #29207
  • Loading branch information
wezell authored Oct 2, 2024
1 parent a93b537 commit 9252e3e
Showing 1 changed file with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1362,16 +1362,19 @@ dojo.declare("dotcms.dijit.workflows.ActionClassAdmin", null, {
*/
enableShowOnEditing : function (){

dijit.byId('showOnEDITING').set('disabled', false);
if(dijit.byId('showOnEDITING') && dijit.byId('showOnEDITING') != undefined){
dijit.byId('showOnEDITING').set('disabled', false);
}
},

/**
* Disable the editing on show when
*/
disableShowOnEditing : function (){

dijit.byId('showOnEDITING').set('checked', false);
dijit.byId('showOnEDITING').set('disabled', true);
if(dijit.byId('showOnEDITING') && dijit.byId('showOnEDITING') != undefined){
dijit.byId('showOnEDITING').set('checked', false);
dijit.byId('showOnEDITING').set('disabled', true);
}
},
/**
* Delete subaction from the system (using ajax) and table
Expand Down Expand Up @@ -1591,9 +1594,3 @@ dojo.ready(function() {
}

});






0 comments on commit 9252e3e

Please sign in to comment.