Comment 13 for bug 1503396

Revision history for this message
Richard Jones (r1chardj0n3s) wrote :

The reason the pre-filling of the form was working was that the Javascript code attached to the form wasn't working. The patch cited fixed the Javascript so it worked. The form variable filled in by the pre-fill (by Django) is now overridden by the AngularJS model value (copyFrom) which isn't set by the pre-fill, hence is blank, and thus the field is blank now. I have corrected the bug in the AngularJS code and the values now pre-fill correctly.

Note that Horizon now uses strict AngularJS dependency injection an errors appear in the console from the app-catalog-ui JS code as a result. They don't appear to prevent it working in my testing though.