mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-15 23:08:41 +00:00
dont enable plugins twice
This commit is contained in:
parent
698a5ff475
commit
269e0b89b6
1 changed files with 1 additions and 0 deletions
|
@ -172,6 +172,7 @@ deluge.ui = {
|
||||||
|
|
||||||
onGotPlugins: function(plugins) {
|
onGotPlugins: function(plugins) {
|
||||||
Ext.each(plugins.enabled_plugins, function(plugin) {
|
Ext.each(plugins.enabled_plugins, function(plugin) {
|
||||||
|
if (deluge.plugins[plugin]) return;
|
||||||
deluge.client.web.get_plugin_resources(plugin, {
|
deluge.client.web.get_plugin_resources(plugin, {
|
||||||
success: this.onGotPluginResources,
|
success: this.onGotPluginResources,
|
||||||
scope: this
|
scope: this
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue