diff --git a/src/apps/callflows/app.js b/src/apps/callflows/app.js index afd6391..4461d21 100644 --- a/src/apps/callflows/app.js +++ b/src/apps/callflows/app.js @@ -144,6 +144,7 @@ define(function(require){ self.editCallflow({ id: callflowId }); }); + callflowList.on('scroll', function() { if(!isLoading && callflowList.data('next-key') && (callflowList.scrollTop() >= (callflowList[0].scrollHeight - callflowList.innerHeight() - 100))) { isLoading = true; @@ -1561,6 +1562,13 @@ define(function(require){ } }); + $('.node-options .jump', layout).click(function() { + + var $this = $(this), + callflowId = $this.attr('id'); + self.editCallflow({ id: callflowId }); + }); + return layout; }, diff --git a/src/apps/callflows/style/app.css b/src/apps/callflows/style/app.css index 95b0ce0..78325f4 100644 --- a/src/apps/callflows/style/app.css +++ b/src/apps/callflows/style/app.css @@ -349,7 +349,7 @@ #ws_callflow .module { font-size: 13px; - height: 59px; + height: 49px; margin-top: 15px; cursor: default; } @@ -1740,4 +1740,4 @@ .ui-dialog-content .monster-link:not(.disabled):focus .fa { background: transparent; color: #22A5FF; -} \ No newline at end of file +} diff --git a/src/apps/callflows/views/node.html b/src/apps/callflows/views/node.html index 9ae9926..0aa106d 100644 --- a/src/apps/callflows/views/node.html +++ b/src/apps/callflows/views/node.html @@ -5,7 +5,14 @@ {{ callflow.name }} -
{{ node.caption }}
+ +
+ {{#compare node.module "===" "callflow"}} + +
+ {{else}} + {{ node.caption }} + {{/compare}}
-
\ No newline at end of file +