Tabs in template style disappeared

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sat Jun 10, 2017 2:29 pm
Reply with quote
Report this post
Hello to everyone,

Today I tried to make some changes to my template and when I go to templates---->styles simplicity all tabs have disappeared. Please have a look at the follow image. Have anyone any idea what happened?

Image

Thanks in advance!
User avatar
Senior Boarder

teitbite
Tue Jun 13, 2017 9:00 am
Reply with quote
Report this post
Hi,

Try to change the following line from /admin/scripts/js file:

Code: Select all
var type = items[i].split('=')[0].test(/^\d+$/) ? 'ItemID' : 'Option';



into:

Code: Select all
var type = !isNaN(items[i].split('=')[0]) ? 'ItemID' : 'Option';
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.