Re: Deluge 2.0.5 Webui Columns - changes are not saved after editing deluge-all-debug.js (Arch Linux)
Posted: Sat Apr 16, 2022 12:28 pm
OK, I made it work through in same file(deluge-all.js) replacing following part from line 98:
With this:
Reason being that upon plugin initialization then this part overwrites the initial column-definitions you add/change, hence we need modify here instead, when specifically want ammending plugin introduced columns.
Hope helps.
Code: Select all
cc=Ext.apply(cc,{header:header,dataIndex:key,});
Code: Select all
if (key != "label") {cc = Ext.apply(cc, {header: header,dataIndex: key,});} else {cc = Ext.apply(cc, {header: header,hidden: true,dataIndex: key,});}
Hope helps.