Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 5a961afcdcc0f85651aeab90a10e7cc283973014
https://github.com/openSUSE/open-build-service/commit/5a961afcdcc0f85651aeab...
Author: Saray Cabrera Padrón
Date: 2022-06-23 (Thu, 23 Jun 2022)
Changed paths:
M src/api/app/assets/javascripts/webui/delete_confirmation_dialog.js
M src/api/app/components/delete_confirmation_dialog_component.html.haml
M src/api/app/components/watchlist_component.html.haml
M src/api/app/views/webui/users/tokens/users/index.html.haml
Log Message:
-----------
Set JS code in DeleteConfirmationDialogComponent
When we need to set the content of the dialog dynamically, we pass data
attributes with the values and call the JS function that sets them.
Instead of calling that function from every view, we include the JS code
in DeleteConfirmationDialogComponent, which collects all the modals to
confirm deletion we find in the DOM and set the values coming from the
corresponding data attributes if any.
Commit: 504633f1542df01a142a094df626981e8e7e1210
https://github.com/openSUSE/open-build-service/commit/504633f1542df01a142a09...
Author: Saray Cabrera Padrón
Date: 2022-06-23 (Thu, 23 Jun 2022)
Changed paths:
M src/api/app/assets/javascripts/webui/delete_confirmation_dialog.js
M src/api/app/components/delete_confirmation_dialog_component.html.haml
M src/api/app/components/watchlist_component.html.haml
M src/api/app/views/webui/users/tokens/users/index.html.haml
Log Message:
-----------
Merge pull request #12720 from saraycp/move_javascript_into_component
Move JavaScript part into the ConfirmationDialogComponent
Compare: https://github.com/openSUSE/open-build-service/compare/e82e6d371689...504633...