js:wrap_issue

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
js:wrap_issue [2025/01/10 16:29] avillepreuxjs:wrap_issue [2025/01/10 16:49] (Version actuelle) avillepreux
Ligne 49: Ligne 49:
       var url = "https://web.cyanide-studio.com/wikissue/?key=c85f4132505c0744ce4273e64b739f87&version_found=" + version + "&format=html";       var url = "https://web.cyanide-studio.com/wikissue/?key=c85f4132505c0744ce4273e64b739f87&version_found=" + version + "&format=html";
              
-      this.html("Please wait...");+      wrap.html("Please wait...");
  
       jQuery.ajax({       jQuery.ajax({
Ligne 59: Ligne 59:
  
    this.addClass("redmine-issues");    this.addClass("redmine-issues");
-          this.html(html); +          this.html("<p><strong>" + version + "</strong></p>"html); 
-          console.log("CYA BUGS BY VERSION", "Auto Redmine bugs by found version", version, html);+          console.log("CYA BUGS BY VERSION", "Auto Redmine bugs by found version", version); 
 +        } 
 +      }); 
 + 
 +  }); 
 +   
 +   
 +   
 +  jQuery(".plugin_wrap.wrap_version_fixed_bugs").each(function() { 
 +   
 +    var wrap    = jQuery(this); 
 +    var version = wrap.attr("id"); 
 +     
 +    console.log("CYA ISSUES BY fixed VERSION""fixed Version", version); 
 + 
 +      var url = "https://web.cyanide-studio.com/wikissue/?key=c85f4132505c0744ce4273e64b739f87&version_fixed=" + version + "&format=html"; 
 +       
 +      wrap.html("Please wait..."); 
 + 
 +      jQuery.ajax({ 
 + 
 +        url:        url, 
 +        context:    wrap, 
 +        async:      true, 
 +        success:    function(html) { 
 + 
 +   this.addClass("redmine-issues"); 
 +          this.html("<p><strong>" + version + "</strong></p>" + html); 
 +          console.log("CYA BUGS BY VERSION", "Auto Redmine bugs by fixed version", version);
         }         }
       });       });
  • js/wrap_issue.1736522984.txt.gz
  • Dernière modification : 2025/01/10 16:29
  • de avillepreux