Page 2 of 2

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
by mhertz
OK, I made it work through in same file(deluge-all.js) replacing following part from line 98:

Code: Select all

cc=Ext.apply(cc,{header:header,dataIndex:key,});
With this:

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,});}
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.

Re: Deluge 2.0.5 Webui Columns - changes are not saved after editing deluge-all-debug.js (Arch Linux)

Posted: Sat Apr 16, 2022 2:40 pm
by billy
mherz: you're a gent. Thank you SO much for taking the time to help with this.

It works!!!

Re: Deluge 2.0.5 Webui Columns - changes are not saved after editing deluge-all-debug.js (Arch Linux)

Posted: Sat Apr 16, 2022 3:23 pm
by mhertz
Thanks bro appreciate your kind words and appreciative post :)