|
|
|
@ -139,6 +139,8 @@ define('admin/extend/plugins', function() {
|
|
|
|
|
$('#order-active-plugins-modal').modal('hide');
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
populateUpgradeablePlugins();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
function confirmInstall(pluginID, callback) {
|
|
|
|
@ -225,5 +227,13 @@ define('admin/extend/plugins', function() {
|
|
|
|
|
}).fail(callback);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
function populateUpgradeablePlugins() {
|
|
|
|
|
$('#installed ul li').each(function() {
|
|
|
|
|
if ($(this).children('[data-action="upgrade"]').length) {
|
|
|
|
|
$('#upgrade ul').append($(this));
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return Plugins;
|
|
|
|
|
});
|
|
|
|
|