[obs-commits] [openSUSE/open-build-service] 0a9426: Use custom file input bootstrap class
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 0a9426eedc3a549f71beeba64dbc14796227ff05 https://github.com/openSUSE/open-build-service/commit/0a9426eedc3a549f71beeb... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2018-10-01 (Mon, 01 Oct 2018) Changed paths: M src/api/app/assets/javascripts/webui2/application.js A src/api/app/assets/javascripts/webui2/forms.js M src/api/app/views/webui2/webui/package/add_file.html.haml Log Message: ----------- Use custom file input bootstrap class for add file view. Because this is what we decided in the pattern library so we need to change it to follow. Commit: 263db63a9fc09fc779c1ff3a6fd97441eff6ef0f https://github.com/openSUSE/open-build-service/commit/263db63a9fc09fc779c1ff... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2018-10-01 (Mon, 01 Oct 2018) Changed paths: M src/api/app/assets/javascripts/webui2/forms.js Log Message: ----------- Remove path from file input Most modern browser don't allow JS to access the full path of the file and show e.g. C:\fakepath. As this is confusing for our users, we only show the filename and strip the path instead. Commit: 98b31c49422e6755bc272a78edc750dfd2fcc565 https://github.com/openSUSE/open-build-service/commit/98b31c49422e6755bc272a... Author: Moisés Déniz Alemán <mdeniz@suse.com> Date: 2018-10-01 (Mon, 01 Oct 2018) Changed paths: M src/api/app/assets/javascripts/webui2/application.js A src/api/app/assets/javascripts/webui2/forms.js M src/api/app/views/webui2/webui/package/add_file.html.haml Log Message: ----------- Merge pull request #5964 from ChrisBr/bootstrap/file-upload-input Use custom file input bootstrap class Compare: https://github.com/openSUSE/open-build-service/compare/027843451a75...98b31c... **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
participants (1)
-
Moisés Déniz Alemán