<commit_before>require [
  "i18n!groups",
  "jquery",
  "jqueryui/dialog",
  "compiled/jquery/fixDialogButtons"
], (I18n, $) ->
  window.addGroupCategory = (callback) ->
    $("#add_category_form").dialog(
      width: "auto"
      title: I18n.t("titles.add_group_category", "Add Set of Groups")
      modal: true
      overlay:
        backgroundColor: "#000"
        opacity: 0.7
    ).fixDialogButtons()
    callbacks = $("#add_category_form").data("callbacks") or []
    callbacks.push callback
    $("#add_category_form").data "callbacks", callbacks<commit_msg>fix 'clickable' elements on create category dialog<commit_after>require [
  "i18n!groups",
  "jquery",
  "jqueryui/dialog",
  "compiled/jquery/fixDialogButtons"
], (I18n, $) ->
  window.addGroupCategory = (callback) ->
    $("#add_category_form").dialog(
      width: "auto"
      title: I18n.t("titles.add_group_category", "Add Set of Groups")
      modal: true
      overlay:
        backgroundColor: "#000"
        opacity: 0.7
    ).fixDialogButtons()
    $('.ui-resizable-handle').attr('aria-hidden', true)
    callbacks = $("#add_category_form").data("callbacks") or []
    callbacks.push callback
    $("#add_category_form").data "callbacks", callbacks
{'fraction_non_alphanumeric': 0.16244897959183674, 'fraction_numerical': 0.017959183673469388, 'mean_word_length': 3.6090225563909772, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5997702', 'n_tokens_mistral': 409, 'n_tokens_neox': 398, 'n_words': 73}