File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 113
113
firstMoving = true ;
114
114
dragInfo = UiTreeHelper . dragInfo ( scope ) ;
115
115
116
- // Fire dragStart callback
117
- scope . $apply ( function ( ) {
118
- scope . $treeScope . $callbacks . dragStart ( dragInfo . eventArgs ( elements , pos ) ) ;
119
- } ) ;
120
-
121
116
tagName = scope . $element . prop ( 'tagName' ) ;
122
117
123
118
if ( tagName . toLowerCase ( ) === 'tr' ) {
170
165
dragging : dragElm
171
166
} ;
172
167
168
+ // Fire dragStart callback
169
+ scope . $apply ( function ( ) {
170
+ scope . $treeScope . $callbacks . dragStart ( dragInfo . eventArgs ( elements , pos ) ) ;
171
+ } ) ;
172
+
173
173
angular . element ( $document ) . bind ( 'touchend' , dragEndEvent ) ;
174
174
angular . element ( $document ) . bind ( 'touchcancel' , dragEndEvent ) ;
175
175
angular . element ( $document ) . bind ( 'touchmove' , dragMoveEvent ) ;
You can’t perform that action at this time.
0 commit comments