Problem With Ajax.js For Products Updates (Price)

Hello ,



My problem is :

When a product put options, then every time you change the user a choice and have to display the script in the same price that makes it loads and sticky.



TypeError: data.html[k].match is not a function



matches = data.html[k].match(regex_all);



ajax.js (line 203, col 14)



--------------------------------------------------------------------------------



// Data returned that should be inserted to DOM

if (data.html) {

for (var k in data.html) {

elm = $(‘#’ + k);

if (elm.length != 1) {

continue;

}



matches = data.html[k].match(regex_all); (Error)

elm.html(matches ? data.html[k].replace(regex_all, ‘’) : data.html[k]);



// Display/hide hidden block wrappers

if (jQuery.trim(elm.html())) {

elm.parents(‘.hidden.cm-hidden-wrapper’).removeClass(‘hidden’);



---------------------------------------------------------------------------------



Please help me!

My version is 2.1.1

and I never had this problem :-(

problem.jpg