File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 3636
3737 $element . html ( '' ) ;
3838
39- var tableElem = angular . element ( '<table></table>' ) ;
40- // FIXME: I bet this doesn't work in some browsers (I'm looking at you,
41- // old versions of MSIE) because they'll implicitly create a TBODY in
42- // here and then refuse to display rows that aren't in it.
43-
4439 function linkFunctionForFieldType ( type ) {
4540 var match = type . match ( / ^ ( \w + ) \< .* \> $ / ) ;
4641 if ( match ) {
7065 // new ones.
7166
7267 // empty the table in case we've already got some stuff in there
73- tableElem . html ( '' ) ;
68+ $element . html ( '' ) ;
7469
7570 var data = $scope . dataExpr ( $scope ) ;
7671
149144 updateFieldType
150145 ) ;
151146
152- tableElem . append ( rowElem ) ;
147+ $element . append ( rowElem ) ;
153148 }
154149 ) ;
155150 }
171166 false
172167 ) ;
173168
174- $element . append ( tableElem ) ;
175-
176169 } ;
177170 }
178171 } ;
You can’t perform that action at this time.
0 commit comments