Page 1 of 1
deactivate prefix Description
Posted: 04 Aug 2018, 06:21
by hardliner
I have set the Folder to carousel. See in the Screenshot. But how can i deactivate the prefix in the Tab Description? I make a second screenshot.

- imagevuex.png (116.66 KiB) Viewed 3689 times

- imagevuex1.png (76.64 KiB) Viewed 3690 times
Thanks for Help
Re: deactivate prefix Description
Posted: 04 Aug 2018, 07:38
by mjau-mjau
Hmm ... This is a
bug! I will fix it soon.
In the mean time, here is a quick fix. Paste the below code into Settings > Custom > Custom Javascript:
function x3_load_page(){
var carousel_tabs = $('.carousel-tabs');
if(!carousel_tabs.length) return;
carousel_tabs.find('button').each(function() {
var el = $(this);
el.text(el.text().replace('folder ', ''));
});
}
Re: deactivate prefix Description
Posted: 04 Aug 2018, 08:48
by hardliner
I have paste the Code in the CUstom Javascript without any changes in this case.
The Bug was not fixed.
THe Code do nothing
Best Regards
Danjel Rojka
Re: deactivate prefix Description
Posted: 04 Aug 2018, 12:34
by mjau-mjau
Please, do you have a link?
Re: deactivate prefix Description
Posted: 04 Aug 2018, 17:29
by hardliner
Re: deactivate prefix Description
Posted: 05 Aug 2018, 01:26
by mjau-mjau
As noted in my previous reply, I am aware that this is a bug. I asked for a link just to make sure I am offering a custom "hack" that is sure to work also in your specific conditions. Anyway, I believe it will work by adding a short delay:
function x3_load_page(){
setTimeout(function(){
var carousel_tabs = $('.carousel-tabs');
if(!carousel_tabs.length) return;
carousel_tabs.find('button').each(function() {
var el = $(this);
el.text(el.text().replace('folder ', ''));
});
},100);
}
Re: deactivate prefix Description
Posted: 06 Aug 2018, 01:53
by hardliner
Hello Karl,
it works fine now.
Regards
Danjel
Re: deactivate prefix Description
Posted: 07 Aug 2018, 02:38
by mjau-mjau
This bug was fixed in
X3.25.1:
viewtopic.php?f=51&t=9585&p=43473#p43473
After updating, you can remove the javascript hack.