Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: e403a5f37da377a9e26d8c39f194ab1b38cff6f1
https://github.com/openSUSE/open-build-service/commit/e403a5f37da377a9e26d8c...
Author: Dani Donisa
Date: 2019-09-10 (Tue, 10 Sep 2019)
Changed paths:
M src/api/app/assets/javascripts/webui2/request.js
M src/api/app/controllers/webui/package_controller.rb
M src/api/app/controllers/webui2/package_controller.rb
M src/api/app/models/project.rb
M src/api/app/views/webui2/webui/package/_submit_request_dialog.html.haml
M src/api/app/views/webui2/webui/package/bottom_actions/_submit_package.html.haml
M src/api/app/views/webui2/webui/package/show.html.haml
M src/api/config/routes.rb
Log Message:
-----------
Prefill the submit request form
After branching and submitting a package, the form was not pre-filled with the
project and package.
This fix, pre-fills the Submit when hitting the Project overview's
"Submit package" link.
We use an ajax hook to avoid prefilling on every show package page. Now it's only
prefilled when necessary.
Co-authored-by: Dany Marcoux
Commit: c1e171f4f1ccb6c11dbe779b9e13ea2d02a02fb5
https://github.com/openSUSE/open-build-service/commit/c1e171f4f1ccb6c11dbe77...
Author: Dany Marcoux
Date: 2019-09-10 (Tue, 10 Sep 2019)
Changed paths:
M src/api/app/assets/javascripts/webui2/request.js
M src/api/app/controllers/webui/package_controller.rb
M src/api/app/controllers/webui2/package_controller.rb
M src/api/app/models/project.rb
M src/api/app/views/webui2/webui/package/_submit_request_dialog.html.haml
M src/api/app/views/webui2/webui/package/bottom_actions/_submit_package.html.haml
M src/api/app/views/webui2/webui/package/show.html.haml
M src/api/config/routes.rb
Log Message:
-----------
Merge pull request #7934 from danidoni/submit-request-form-is-not-pre-filled-with-target-project
Fix pre-filling of the Submit Request Form
Compare: https://github.com/openSUSE/open-build-service/compare/f4e99808eb63...c1e171...