Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
js:wrap_svnlog [2024/07/05 13:49] – avillepreux | js:wrap_svnlog [2024/07/05 14:03] (Version actuelle) – avillepreux | ||
---|---|---|---|
Ligne 13: | Ligne 13: | ||
| | ||
var project = " | var project = " | ||
- | if (wrap.hasClass(" | + | |
- | if (wrap.hasClass(" | + | |
- | if (wrap.hasClass(" | + | if (wrap.hasClass(" |
- | if (wrap.hasClass(" | + | if (wrap.hasClass(" |
- | if (wrap.hasClass(" | + | if (wrap.hasClass(" |
- | if (wrap.hasClass(" | + | if (wrap.hasClass(" |
+ | if (wrap.hasClass(" | ||
+ | if (wrap.hasClass(" | ||
+ | if (wrap.hasClass(" | ||
| | ||
if (jQuery.isNumeric(revision)) { | if (jQuery.isNumeric(revision)) { | ||
- | | ||
- | console.log(" | ||
| | ||
var url = " | var url = " | ||
- | jQuery.ajax({ | + | jQuery.ajax({url: |
- | + | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | console.log(" | + | |
- | + | ||
- | this.addClass(" | + | |
- | this.html(" | + | |
- | }, | + | |
- | error: function(e) { | + | |
- | + | ||
- | console.log(" | + | |
- | }, | + | |
- | complete: function(complete) { | + | |
| | ||
- | console.log("Pulling | + | this.addClass("svn-log wrap_note" |
+ | var src = (requested_project == project) ? project : (requested_project + "(" + project + ")"); | ||
+ | this.html(" | ||
} | } | ||
}); | }); |