pgadmin4/web/pgadmin/misc/file_manager
Surinder Kumar 3963272523 Don't show Upload File icon unless it is in capabilities list [Storage Manager]. Fixes #1739
Issue:
When clicked on upload icon while saving a file prompt user to leave page. It is because the icon is a button and its type is set to submit which makes it to prompt, instead it should be 'button'

Storage Manager's menu items depends on capabilities list set by the module using it. If capabilities doesn't have 'upload' in it, It won't work. Upload button is bound to click event only when it is in capabilities.

Solution:
As upload button is being added only when it is in capabilities, so upload button html is removed from html file. It will not shown on UI untill it is in capabilities list.
2016-10-07 12:31:38 +01:00
..
static/css File management dialogue enhancements: 2016-07-15 10:50:25 +01:00
templates/file_manager Don't show Upload File icon unless it is in capabilities list [Storage Manager]. Fixes #1739 2016-10-07 12:31:38 +01:00
__init__.py Fix file navigator to properly show drives in Windows. Fixes #1665 2016-09-05 17:07:07 +01:00