[WebUI] Disable disabling WebUi plugin in WebUI
This commit is contained in:
parent
b450739333
commit
2e08599f82
|
@ -172,6 +172,7 @@ Deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
|
||||||
if (el.getAttribute('rel') != 'chkbox') return;
|
if (el.getAttribute('rel') != 'chkbox') return;
|
||||||
|
|
||||||
var r = dv.getStore().getAt(index);
|
var r = dv.getStore().getAt(index);
|
||||||
|
if (r.get('plugin') == "WebUi") return;
|
||||||
r.set('enabled', !r.get('enabled'));
|
r.set('enabled', !r.get('enabled'));
|
||||||
r.commit();
|
r.commit();
|
||||||
if (r.get('enabled')) {
|
if (r.get('enabled')) {
|
||||||
|
|
Loading…
Reference in New Issue