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

General support for problems installing or using Deluge
mhertz
Moderator
Moderator
Posts: 2195
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

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

Post 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.
billy
New User
New User
Posts: 7
Joined: Fri Nov 23, 2018 5:34 am

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

Post by billy »

mherz: you're a gent. Thank you SO much for taking the time to help with this.

It works!!!
mhertz
Moderator
Moderator
Posts: 2195
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

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

Post by mhertz »

Thanks bro appreciate your kind words and appreciative post :)
Post Reply