Closed gradel closed 8 years ago
Seems like overkill. What kind of field is causing the error? Why not just wrap in a try/catch?
adminform seems to lack the attribute first_field and the focus part is already handled in line 77 in the way django itself does it now.
That makes sense, thanks a lot.
constantly throwing Uncaught TypeError: Cannot read property 'focus' of null. Not looked around much, but it seems that the first input field gets the focus anyway.