Pass the tree item object to the menu objects, which could be used by the disabled function to make it enable/disable based on the current selected item.
Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=84843f8c37275425596b15c45842b141b5a5fee6 Modified Files -------------- web/pgadmin/browser/static/js/menu.js | 10 +++++----- web/pgadmin/browser/templates/browser/js/browser.js | 13 ++++++------- 2 files changed, 11 insertions(+), 12 deletions(-) -- Sent via pgadmin-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
