Upgraded to latest and now the "update" button in the "set block styles" window won't work...

Permalink
...in any web browser. I've tried Opera, Firefox and IE. IE comes up with the following error message - "Line 1143; Error: Object doesn't support this property or method"

Anyone else had this?

Cheers!

 
arblickspule replied on at Permalink Reply
Nobody else got this one then?
arblickspule replied on at Permalink Reply
Additional...

The error is in 'ccm.ui.js' and pops up on lines 1142 to 1153. The error is on line 1143

"if ($('input[name=cspCreateNew]').prop('checked') == true) {"

Error "Object doesn't support this property or method"

$('#ccmCustomCssForm').submit(function() {
         if ($('input[name=cspCreateNew]').prop('checked') == true) {
            if ($('input[name=cspName]').val() == '') { 
               $('input[name=cspName]').focus();
               alert(ccmi18n.errorCustomStylePresetNoName);
               return false;
            }
         }
         jQuery.fn.dialog.showLoader();      
         return true;
      });
arblickspule replied on at Permalink Reply 1 Attachment
Huff. I fixed it for you.

$('#ccmCustomCssForm').submit(function() {
         if ($('input[name=cspCreateNew]').attr('checked') == true) {
            if ($('input[name=cspName]').val() == '') { 
               $('input[name=cspName]').focus();
               alert(ccmi18n.errorCustomStylePresetNoName);
               return false;
            }
         }
         jQuery.fn.dialog.showLoader();      
         return true;
      });


Replace the ccm.ui.js in C5_root_folder/updates/concrete5.4.2/concrete/js/ with the attached version (rename it to .js too).

Cheers!