Hi,

if the js-file compression is enabled - node-edit page return 3 js errors; without compression - no error. Copy from Firefox Firebug (I hope my code data are descriptive enough. ;) ):

TypeError: (intermediate value)(...) is not a function
/advagg_js/js__q_BmantSRXGEsS8_wNRu-cVoisyTaggokPyJR1HM0c0__G3J7jksJi1fiLo4bwTwgJUX7QBAgzYkwvTz-vdz2y1A__xs_woFR639ChZRStf1yKD2juqPOMnk8tUI9Rr3wgzwM.js
Line 33:

jQuery.cookie=function(key,value,options){if(arguments.length>1&&(value===null||typeof value!=="object")){options=jQuery.extend({},options);if(value===null)options.expires=-1;if(typeof options.expires==='number'){var days=options.expires,t=options.expires=new Date();t.setDate(t.getDate()+days)};return(document.cookie=[encodeURIComponent(key),'=',options.raw?String(value):encodeURIComponent(String(value)),options.expires?'; expires='+options.expires.toUTCString():'',options.path?'; path='+options.path:'',options.domain?'; domain='+options.domain:'',options.secure?'; secure':''].join(''))};options=value||{};var result,decode=options.raw?function(s){return s}:decodeURIComponent;return(result=new RegExp('(?:^|; )'+encodeURIComponent(key)+'=([^;]*)').exec(document.cookie))?decode(result[1]):null}/*!

TypeError: win is undefined
/advagg_js/js__hrOblsZ5Jb6iP3mLhpd6wlu3nvgZ1mutpzd3AOL1USQ__RnPP2YkpWopeM8NriAlXtSVWY5SWtjQ-_iC45Jvs3ws__xs_woFR639ChZRStf1yKD2juqPOMnk8tUI9Rr3wgzwM.js
Line 2:

function attachCKEditor(context){if(Drupal.behaviors.textarea&&Drupal.behaviors.textarea.attach)Drupal.behaviors.textarea.attach(context);$(context).find("textarea.ckeditor-mod:not(.ckeditor-processed)").each(function(){var ta_id=$(this).attr("id");if(CKEDITOR.instances&&typeof(CKEDITOR.instances[ta_id])!='undefined')Drupal.ckeditorOff(ta_id);if((typeof(Drupal.settings.ckeditor.autostart)!='undefined')&&(typeof(Drupal.settings.ckeditor.autostart[ta_id])!='undefined'))Drupal.ckeditorOn(ta_id);if(typeof(Drupal.settings.ckeditor.input_formats[Drupal.settings.ckeditor.elements[ta_id]])!='undefined')$('.ckeditor_links').show();var sel_format=$("#"+ta_id.substr(0,ta_id.lastIndexOf("-"))+"-format--2");if(sel_format&&sel_format.not('.ckeditor-processed'))sel_format.addClass('ckeditor-processed').change(function(){Drupal.settings.ckeditor.elements[ta_id]=$(this).val();if(CKEDITOR.instances&&typeof(CKEDITOR.instances[ta_id])!='undefined')$('#'+ta_id).val(CKEDITOR.instances[ta_id].getData());Drupal.ckeditorOff(ta_id);if(typeof(Drupal.settings.ckeditor.input_formats[$(this).val()])!='undefined'){if($('#'+ta_id).hasClass('ckeditor-processed')){Drupal.ckeditorOn(ta_id,false)}else Drupal.ckeditorOn(ta_id);$('#switch_'+ta_id).show()}else $('#switch_'+ta_id).hide()})})};Drupal.behaviors.ckeditor={attach:function(context){if((typeof CKEDITOR=='undefined')&&Drupal.settings.ckeditor.editor_path.match(/^(http(s)?:)?\/\//i)){if(typeof(Drupal.settings.ckeditor.loadAttempts)=='undefined')Drupal.settings.ckeditor.loadAttempts=50;if(Drupal.settings.ckeditor.loadAttempts>0){Drupal.settings.ckeditor.loadAttempts--;window.setTimeout(function(){Drupal.behaviors.ckeditor.attach(context)},300)};return};if((typeof CKEDITOR=='undefined')||!CKEDITOR.env.isCompatible)return;attachCKEditor(context)},detach:function(context,settings,trigger){$(context).find("textarea.ckeditor-mod.ckeditor-processed").each(function(){var ta_id=$(this).attr("id");if(CKEDITOR.instances[ta_id])$('#'+ta_id).val(CKEDITOR.instances[ta_id].getData());if(trigger!='serialize'){Drupal.ckeditorOff(ta_id);$(this).removeClass('ckeditor-processed')}})}};$(document).bind('CToolsDetachBehaviors',function(event,context){Drupal.behaviors.ckeditor.detach(context,{},'unload')})})(jQuery);var ckeditor_imceSendTo=function(file,win){var cfunc=win.location.href.split('&');for(var x in cfunc)if(cfunc[x].match(/^CKEditorFuncNum=\d+$/)){cfunc=cfunc[x].split('=');break};CKEDITOR.tools.callFunction(cfunc[1],file.url);win.close()}?/*

TypeError: $fieldset.drupalGetSummary is not a function
/advagg_js/js__xrIsuG4NdoxdAnuSK0KpIKCinBzfaABbTpfigAliS4w__9DePcFRxHfF9fNfdcHpvkaUjQcf-u-kJQPWmazxqtzg__xs_woFR639ChZRStf1yKD2juqPOMnk8tUI9Rr3wgzwM.js
Line 1:

(function($){Drupal.toggleFieldset=function(fieldset){var $fieldset=$(fieldset);if($fieldset.is('.collapsed')){var $content=$('> .fieldset-wrapper',fieldset).hide();$fieldset.removeClass('collapsed').trigger({type:'collapsed',value:false}).find('> legend span.fieldset-legend-prefix').html(Drupal.t('Hide'));$content.slideDown({duration:'fast',easing:'linear',complete:function(){Drupal.collapseScrollIntoView(fieldset);fieldset.animating=false},step:function(){Drupal.collapseScrollIntoView(fieldset)}})}else{$fieldset.trigger({type:'collapsed',value:true});$('> .fieldset-wrapper',fieldset).slideUp('fast',function(){$fieldset.addClass('collapsed').find('> legend span.fieldset-legend-prefix').html(Drupal.t('Show'));fieldset.animating=false})}};Drupal.collapseScrollIntoView=function(node){var h=document.documentElement.clientHeight||document.body.clientHeight||0,offset=document.documentElement.scrollTop||document.body.scrollTop||0,posY=$(node).offset().top,fudge=55;if(posY+node.offsetHeight+fudge>h+offset)if(node.offsetHeight>h){window.scrollTo(0,posY)}else window.scrollTo(0,posY+node.offsetHeight-h+fudge)};Drupal.behaviors.collapse={attach:function(context,settings){$('fieldset.collapsible',context).once('collapse',function(){var $fieldset=$(this),anchor=location.hash&&location.hash!='#'?', '+location.hash:'';if($fieldset.find('.error'+anchor).length)$fieldset.removeClass('collapsed');var summary=$('<span class="summary"></span>');$fieldset.bind('summaryUpdated',function(){var text=$.trim($fieldset.drupalGetSummary());summary.html(text?' ('+text+')':'')}).trigger('summaryUpdated');var $legend=$('> legend .fieldset-legend',this);$('<span class="fieldset-legend-prefix element-invisible"></span>').append($fieldset.hasClass('collapsed')?Drupal.t('Show'):Drupal.t('Hide')).prependTo($legend).after(' ');var $link=$('<a class="fieldset-title" href="#"></a>').prepend($legend.contents()).appendTo($legend).click(function(){var fieldset=$fieldset.get(0);if(!fieldset.animating){fieldset.animating=true;Drupal.toggleFieldset(fieldset)};return false});$legend.append(summary)})}}})(jQuery);(function($){Drupal.behaviors.textarea={attach:function(context,settings){$('.form-textarea-wrapper.resizable',context).once('textarea',function(){var staticOffset=null,textarea=$(this).addClass('resizable-textarea').find('textarea'),grippie=$('<div class="grippie"></div>').mousedown(startDrag);grippie.insertAfter(textarea)

Greetings
Frank

Comments

mikeytown2’s picture

Status: Active » Closed (duplicate)

Figure out what file this is coming from and use a different compressor or disable it on the "admin/config/development/performance/advagg/js-compress" page under "Per File Settings".

Going to mark this as an dup of this #2447757: Add in JSqueeze & JShrink minification code. as it should be fixed for good once these new compression libraries are added.