Hello,
I recently upgraded Joomla from 2.5.17 to 2.5.24 and Seblod from 3.1.5 to 3.3.7.
My admin template is bluestork.
Everything seemed to work as normal.
But now I encountered a strange problem:
When I edit a Form&Content type and want to change permissions for the site form, a modal opens where I can set permissions. When I click "Save & Close" in the modal window, nothing happens and I get this error in the console:
TypeError: $.toJSON is not a function
The changes do not get saved and the modal window remains open.
The error points to lines 291, 292 of /libraries/cms/cck/dev.php (or lines 86,87 in/plugins/cck_field/jform_rules/tmpl/form.php):
var encoded = $.toJSON(data);
parent.jQuery("#"+elem).val(encoded);<br>
After some research I found that
not all browsers have the json library built into it.. You need to include json2.js in that case
I searched through all files in my install and found that there is a json.js in:
/media/com_joomlaupdate/json2.js
It doesn't seem to get included by Seblod.
I desperately need to set permissions for the site form.
Can anyone confirm this bahaviour and, more importantly, has anyone got an idea of how to fix it? Is it a bug?