Okay
  Public Ticket #159559
Theme options is broken in Salient 3.0.x
Closed

Comments

  • Guilherme started the conversation

    Tested with Safari/Chrome/Firefox on a Mac. 
    Server is running WordPress 3.8.1.

    https://www.dropbox.com/s/zovtd86cxdcxiqz/Screenshot%202014-02-07%2013.58.18.png https://www.dropbox.com/s/beyn38etbd4r6il/Screenshot%202014-02-07%2014.29.39.png

  •  1,077
    ThemeNectar replied

    Hey Guilherme, could you let me access your admin panel so I can see why this would happen? This is the first report of that error.

    Cheers!

  •   Guilherme replied privately
  •  1,077
    ThemeNectar replied

    Ugh, since the javascript is broken on every page I'm unable to use the normal editor I do for altering files!

    You'll need to open nectar/assets/js/nectar-meta.js and remove this:

    if($('#toplevel_page_redux_options').length > 0) {
    	     	var preloadSrc = $('#toplevel_page_redux_options > a .wp-menu-image img').attr('src');
    	     	preloadSrc = preloadSrc.replace('.svg','-hover.svg');
    	     	var preloadHoverImage = new Image()
    		preloadHoverImage.src = preloadSrc;
    }

    If that doesn't work, please grant me FTP access so I can have a go at it myself :)

    By the way I noticed that your file is minfied, maybe that has some ill effect on it?

    Cheers!

  • Guilherme replied

    Removing those lines, indeed solved the problem.

    The minified assets are part of the CloudFlare content optimization. I have a CloudFlare Pro subscription for each website I host on my servers and it has saved me tons of bandwidth and threats throughout time. It also allowed me to force SSL on the admin panel of all websites.

    Anyway, problem solved!
    Thanks one more time for your great support and for developing the best WP theme of all times!

    Cheers!