Home Forums Theme support Error on saving theme options on multisite

This topic contains 3 replies, has 2 voices, and was last updated by  7Theme Support 9 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Hello,

    i get a error alert when i save the theme option on multisite.
    Need help.
    As info: i use trhe theme japaneo

    Thanks
    Marc

    Hi,

    sorry for the trouble, I think there is a problem with the URL in the Ajax function. Can you please open the file “admin.js” in the folder “7league/script” in the theme, and delete line 251 – 265? This code here:

    		jQuery(".options_page_form").submit(function() 
    			{
    			jQuery("body").append("<div id='options_page_load'></div>");
    			var form_data = jQuery(this).serializeArray(); 
    			var to_url = jQuery(this).find("input[name=sendto]").val()+"?page=options-page.php";
    			$.post( to_url, form_data ).error(function() 
    				{
            				alert('error');
        				}).success( function() 
    					{	
    					jQuery("#options_page_load").fadeOut().remove();
    					//alert('success');  					 
    					});
    				return false; 
    			});

    Then it should work.

    Thank You for your fast answer 😉

    You’re welcome!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.