pgadmin4/web/pgadmin/misc
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
..
bgprocess Flask-Babel 0.11+ compatibility. Fixes #1496 2016-07-25 17:23:10 +01:00
depends Improve network/server activity feedback for the user. Fixes #1751 2016-09-26 15:10:38 +01:00
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
sql Improve network/server activity feedback for the user. Fixes #1751 2016-09-26 15:10:38 +01:00
static/explain Integrate the graphical explain module in the Query Editor. 2016-05-16 01:07:54 +05:30
statistics Improve network/server activity feedback for the user. Fixes #1751 2016-09-26 15:10:38 +01:00
templates Get rid of canvas colouring in graphical explain. 2016-06-17 16:34:03 +01:00
__init__.py Stop using deprecated imports. 2016-07-22 16:25:23 +01:00