<commit_before>(function($, exports) {

  CreateIssue = function(_target) {
    var _this = this;

    _this.$target = $(_target);
    _this.urlPattern = null;
    _this.$dialog = function() {
      var dialogs = $("body").find('#issue_dialog');
      if (dialogs.length > 0) {
        return $(dialogs[0]);
      } else {
        return Loader.load(_this.$target.data("dialog"), $("body"));
      }
    };
    _this.$form = function() {
      var form = $(_this.$dialog.call(_this).find("form")[0]);
      if (!_this.urlPattern) _this.urlPattern = form.attr('action');<commit_msg>fixes a bug that where you could not create an issue when there was a dialog on the screen<commit_after>(function($, exports) {

  CreateIssue = function(_target) {
    var _this = this;

    _this.$target = $(_target);
    _this.urlPattern = null;
    _this.$dialog = function() {
      var dialogs = $("body").find('#issue_dialog');
      if (dialogs.length > 0) {
        return $(dialogs[0]);
      } else {
        return Loader.load(_this.$target.data("dialog"), $("body"), "#issue_dialog");
      }
    };
    _this.$form = function() {
      var form = $(_this.$dialog.call(_this).find("form")[0]);
      if (!_this.urlPattern) _this.urlPattern = form.attr('action');
{'fraction_non_alphanumeric': 0.18152866242038215, 'fraction_numerical': 0.004777070063694267, 'mean_word_length': 3.0031847133757963, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4431520', 'n_tokens_mistral': 403, 'n_tokens_neox': 394, 'n_words': 86}