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([
84
84
85
85
if ( this . refreshOnContextUpdate ) {
86
86
if ( this . _objectChangeHandler !== null ) {
87
- mx . data . unsubscribe ( this . _objectChangeHandler ) ;
87
+ this . unsubscribe ( this . _objectChangeHandler ) ;
88
88
}
89
89
if ( obj ) {
90
- this . _objectChangeHandler = mx . data . subscribe ( {
90
+ this . _objectChangeHandler = this . subscribe ( {
91
91
guid : obj . getGuid ( ) ,
92
92
callback : lang . hitch ( this , function ( ) {
93
93
this . executeCode ( ) ;
@@ -110,20 +110,7 @@ define([
110
110
_executeMicroflow : function ( ) {
111
111
logger . debug ( this . id + "._executeMicroflow" ) ;
112
112
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 ) ;
127
114
}
128
115
} ,
129
116
You can’t perform that action at this time.
0 commit comments