var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); // Content type form Drupal.behaviors.og_content_type = function() { // Disable the group limit textarea if the content type is not a standard group post $('input[name="og_content_type_usage"]').click(function(){ if (!$('#edit-og-content-type-usage-group-post-standard').attr('checked') && !$('#edit-og-content-type-usage-group-post-wiki').attr('checked')) { $('#edit-og-max-groups').attr('disabled','disabled'); } else { $('#edit-og-max-groups').removeAttr('disabled'); } }); // Initial check to see if content type is standard group post if (!$('#edit-og-content-type-usage-group-post-standard').attr('checked') && !$('#edit-og-content-type-usage-group-post-wiki').attr('checked')) { $('#edit-og-max-groups').attr('disabled','disabled'); }; } Drupal.verticalTabs = Drupal.verticalTabs || {}; Drupal.verticalTabs.og_nodeapi = function() { var values = []; $('.vertical-tabs-og_nodeapi #edit-og-groups :selected') .each(function (i, selected) { values[i] = $(selected).text(); }); return Drupal.checkPlain(values.join(', ')); } Drupal.verticalTabs.og = function() { var type = $('.vertical-tabs-og input[type=radio]:checked').val(); switch (type) { case 'group': return Drupal.t('Group node'); break; case 'omitted': return Drupal.t('May not be posted into a group.'); break; case 'group_post_standard': return Drupal.t('Standard group post'); break; case 'group_post_wiki': return Drupal.t('Wiki group post'); break; } } } /* FILE ARCHIVED ON 21:19:52 Nov 13, 2012 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 18:31:18 Jul 27, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 1.157 exclusion.robots: 0.048 exclusion.robots.policy: 0.034 esindex: 0.015 cdx.remote: 5.706 LoadShardBlock: 119.515 (3) PetaboxLoader3.datanode: 80.905 (4) load_resource: 255.224 PetaboxLoader3.resolve: 230.259 */