No template mgr tab line after 3.6.5 -> 3.7.3

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
Fri Jul 07, 2017 2:22 pm
Reply with quote
Report this post
I use Fest 3.14.1 on a customer site. The backend template mgr tab line disappeared after upgrading from J-3.6.5 to 3.7.3. I had the same issue with Creativity before installing the most recent version, what was the fix that made the tab line re-appear in Creativity? Could that fix be applicable in Fest?
User avatar
Fresh Boarder

teitbite
Fri Jul 14, 2017 1:57 pm
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

GK User
Tue Jul 18, 2017 3:53 pm
Reply with quote
Report this post
The fix works perfectly, thanks s lot :-)
/Amund
User avatar
Fresh Boarder

teitbite
Wed Jul 26, 2017 12:17 pm
Reply with quote
Report this post
Hi

Great to hear it. Closing this thread than.
User avatar
Moderator


cron