File tree Expand file tree Collapse file tree 3 files changed +3
-16
lines changed Expand file tree Collapse file tree 3 files changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -84,10 +84,10 @@ define([
8484
8585 if ( this . refreshOnContextUpdate ) {
8686 if ( this . _objectChangeHandler !== null ) {
87- mx . data . unsubscribe ( this . _objectChangeHandler ) ;
87+ this . unsubscribe ( this . _objectChangeHandler ) ;
8888 }
8989 if ( obj ) {
90- this . _objectChangeHandler = mx . data . subscribe ( {
90+ this . _objectChangeHandler = this . subscribe ( {
9191 guid : obj . getGuid ( ) ,
9292 callback : lang . hitch ( this , function ( ) {
9393 this . executeCode ( ) ;
@@ -110,20 +110,7 @@ define([
110110 _executeMicroflow : function ( ) {
111111 logger . debug ( this . id + "._executeMicroflow" ) ;
112112 if ( this . onclickmf ) {
113- mx . data . action ( {
114- store : {
115- caller : this . mxform
116- } ,
117- params : {
118- actionname : this . onclickmf ,
119- } ,
120- callback : function ( ) {
121- // ok
122- } ,
123- error : function ( ) {
124- // error
125- }
126- } ) ;
113+ mx . ui . action ( this . onclickmf , { } , this ) ;
127114 }
128115 } ,
129116
You can’t perform that action at this time.
0 commit comments