From 88b32e0924bf93c2ce13f0ab5c6d56ec6cd3f0a4 Mon Sep 17 00:00:00 2001 From: Robin Date: Sun, 5 Apr 2015 15:57:39 +0200 Subject: [PATCH] Disabled reload button on packages --- plugins/c9.ide.plugins/manager.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/c9.ide.plugins/manager.js b/plugins/c9.ide.plugins/manager.js index 981a23e8..9058bfbc 100644 --- a/plugins/c9.ide.plugins/manager.js +++ b/plugins/c9.ide.plugins/manager.js @@ -347,9 +347,13 @@ define(function(require, exports, module) { if (CORE[item.name] || item.parent.parent && item.parent.parent.isType == "core") { btnUninstall.disable(); - btnReload.disable(); } else { btnUninstall.enable(); + } + + if (item.isPackage || CORE[item.name] || item.parent.parent && item.parent.parent.isType == "core") { + btnReload.disable(); + } else { btnReload.enable(); }