I'm not able to save after editing module and plugins

January 2013 WordPress Theme
GK User
Sat Sep 06, 2014 2:32 pm
Hello,

I cannot save some of options (for instance, "Use the override.css file" but many other as well) after editing either a module or plugin. Apparently, it is similar to the problem reported at https://www.gavick.com/forums/news/unab ... 38884.html

Thanks,
Sergey
User avatar
Fresh Boarder

GK User
Sun Sep 07, 2014 6:52 pm
Hello,

The issue is probably connected with small changes in the jQuery 1.11.1 which causes a syntax errors in some selectors.

We will release an update for WP 4.0 till Tuesday. The temporary fix is following:

1) Please open file js/back-end/template.options.js in the theme directory

2) Please replace the following fragment:

Code: Select all
var tempField = jQuery('*[data-name=' + usedField + ']');

to:
Code: Select all
var tempField = jQuery('*[data-name="' + usedField + '"]');


3) Please replace the following fragment:

Code: Select all
field = jQuery('*[data-name=' + dependsFrom[j].field + ']');


to:

Code: Select all
field = jQuery('*[data-name="' + dependsFrom[j].field + '"]');


4) Please refresh your browser cache to make sure that your browser is loading an updated version of the modified file in the back-end.
User avatar
Administrator

GK User
Tue Sep 09, 2014 9:01 pm
Super, this works fine!

Thanks,
Sergey
User avatar
Fresh Boarder


cron