<commit_before>(function(cloudStack) {
  cloudStack.sections['global-settings'] = {
    title: 'Global Settings',
    id: 'global-settings',
    listView: {
      label: 'Global Settings',
      actions: {
        edit: {
          label: 'Change value',
          action: function(args) {           
            var name = args.data.jsonObj.name;
            var value = args.data.value;

            $.ajax({
              url: createURL(
                'updateConfiguration&name=' + name + '&value=' + value
              ),
              dataType: 'json',
              async: true,
              success: function(json) {                
                var item = json.updateconfigurationresponse.configuration;
                args.response.success({data: item});
              },
              error: function(json) {                
                args.response.error(parseXMLHttpResponse(json));<commit_msg>bug 12707<commit_after>(function(cloudStack) {
  cloudStack.sections['global-settings'] = {
    title: 'Global Settings',
    id: 'global-settings',
    listView: {
      label: 'Global Settings',
      actions: {
        edit: {
          label: 'Change value',
          action: function(args) {           
            var name = args.data.jsonObj.name;
            var value = args.data.value;

            $.ajax({
              url: createURL(
                'updateConfiguration&name=' + name + '&value=' + value
              ),
              dataType: 'json',
              async: true,
              success: function(json) {                
                var item = json.updateconfigurationresponse.configuration;
                cloudStack.dialog.notice({ message: 'Please restart your management server for your change to take effect.' });
                args.response.success({data: item});
              },
              error: function(json) {                
                args.response.error(parseXMLHttpResponse(json));
{'fraction_non_alphanumeric': 0.1126401630988787, 'fraction_numerical': 0.0025484199796126403, 'mean_word_length': 1.5198973042362003, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2947965', 'n_tokens_mistral': 483, 'n_tokens_neox': 467, 'n_words': 103}