File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ var ActionSet = (function () {
1818 ActionSet . prototype . addDialogTrigger = function ( actions , dialogId ) {
1919 if ( this . trigger ) {
2020 this . trigger . localizationNamespace = dialogId . split ( ':' ) [ 0 ] ;
21- actions . beginDialogAction ( 'trigger(' + dialogId + ')' , dialogId , this . trigger ) ;
21+ actions . beginDialogAction ( dialogId , dialogId , this . trigger ) ;
2222 }
2323 } ;
2424 ActionSet . prototype . findActionRoutes = function ( context , callback ) {
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export class ActionSet {
9191 public addDialogTrigger ( actions : ActionSet , dialogId : string ) : void {
9292 if ( this . trigger ) {
9393 this . trigger . localizationNamespace = dialogId . split ( ':' ) [ 0 ] ;
94- actions . beginDialogAction ( 'trigger(' + dialogId + ')' , dialogId , this . trigger ) ;
94+ actions . beginDialogAction ( dialogId , dialogId , this . trigger ) ;
9595 }
9696 }
9797
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ describe('actions', function() {
6464 onSelectAction : function ( session , args , next ) {
6565 assert ( session !== null ) ;
6666 assert ( args !== null ) ;
67+ assert ( args . action === '/' ) ;
6768 assert ( next !== null ) ;
6869 done ( ) ;
6970 }
You can’t perform that action at this time.
0 commit comments