@@ -38,7 +38,7 @@ Core.Agent.Admin.ProcessManagement.Canvas = (function (TargetNS) {
3838 * @memberof Core.Agent.Admin.ProcessManagement.Canvas
3939 * @member {Array}
4040 * @description
41- * Glocal list of all process management elements (activities, ...).
41+ * Global list of all process management elements (activities, ...).
4242 */
4343 var Elements = { } ,
4444 /**
@@ -77,7 +77,7 @@ Core.Agent.Admin.ProcessManagement.Canvas = (function (TargetNS) {
7777 ScreenWidth = $Element . width ( ) ;
7878
7979 // Loop through available elements and find max needed width and height
80- $ . each ( Core . Agent . Admin . ProcessManagement . ProcessLayout , function ( Key , Value ) {
80+ $ . each ( Core . Agent . Admin . ProcessManagement . ProcessLayout , function ( _Key , Value ) {
8181 var Left = parseInt ( Value . left , 10 ) ,
8282 Top = parseInt ( Value . top , 10 ) ;
8383
@@ -120,7 +120,7 @@ Core.Agent.Admin.ProcessManagement.Canvas = (function (TargetNS) {
120120 * @description
121121 * Show confirmation dialog to remove entity from canvas.
122122 */
123- function ShowRemoveEntityCanvasConfirmationDialog ( EntityType , EntityName , EntityID , Callback ) {
123+ function ShowRemoveEntityCanvasConfirmationDialog ( EntityType , EntityName , _EntityID , Callback ) {
124124 var DialogID = 'Remove' + EntityType + 'CanvasConfirmationDialog' ,
125125 $DialogElement = $ ( '#Dialogs #' + DialogID ) ;
126126
@@ -334,7 +334,7 @@ Core.Agent.Admin.ProcessManagement.Canvas = (function (TargetNS) {
334334 // Add content to the tooltip
335335 text += "<ul>" ;
336336 if ( AssignedTransitionActions . length ) {
337- $ . each ( AssignedTransitionActions , function ( Key , Value ) {
337+ $ . each ( AssignedTransitionActions , function ( _Key , Value ) {
338338 text += "<li>" + Core . App . EscapeHTML ( Core . Agent . Admin . ProcessManagement . ProcessData . TransitionAction [ Value ] . Name ) + "</li>" ;
339339 } ) ;
340340 }
@@ -422,11 +422,11 @@ Core.Agent.Admin.ProcessManagement.Canvas = (function (TargetNS) {
422422 // Add content to the tooltip
423423 text += "<ul>" ;
424424 if ( ActivityDialogs ) {
425- $ . each ( ActivityDialogs , function ( Key , Value ) {
425+ $ . each ( ActivityDialogs , function ( _Key , Value ) {
426426 var Interfaces = Core . Agent . Admin . ProcessManagement . ProcessData . ActivityDialog [ Value ] . Interface ,
427427 SelectedInterface = '' ;
428428
429- $ . each ( Interfaces , function ( InterfaceKey , InterfaceValue ) {
429+ $ . each ( Interfaces , function ( _InterfaceKey , InterfaceValue ) {
430430 if ( SelectedInterface . length ) {
431431 SelectedInterface += '/' ;
432432 }
@@ -740,7 +740,7 @@ Core.Agent.Admin.ProcessManagement.Canvas = (function (TargetNS) {
740740 * @name CreateTransition
741741 * @memberof Core.Agent.Admin.ProcessManagement.Canvas
742742 * @function
743- * @returns {Boolean } Returns fale , if start activity or end activity is not defined.
743+ * @returns {Boolean } Returns false , if start activity or end activity is not defined.
744744 * @param {String } StartElement
745745 * @param {String } EndElement
746746 * @param {String } EntityID
@@ -1182,7 +1182,7 @@ Core.Agent.Admin.ProcessManagement.Canvas = (function (TargetNS) {
11821182 Path [ Data . sourceId ] [ TransitionID ] . ActivityEntityID = Data . targetId ;
11831183 }
11841184
1185- // set connection style to blackagain (if it was red before)
1185+ // set connection style to black again (if it was red before)
11861186 Data . connection . setPaintStyle ( { strokeStyle : "#000" , lineWidth : 2 } ) ;
11871187 Data . targetEndpoint . setPaintStyle ( { fillStyle : "#000" } ) ;
11881188 }
0 commit comments