1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Implement plugin update identification by guid

This commit is contained in:
Eric Reed 2013-11-04 13:16:47 -05:00
parent 47687eb5e9
commit 29773b4c09
4 changed files with 20 additions and 12 deletions

View file

@ -76,7 +76,7 @@
currentCategory = category;
}
var href = plugin.externalUrl ? plugin.externalUrl : "addPlugin.html?name=" + encodeURIComponent(plugin.name);
var href = plugin.externalUrl ? plugin.externalUrl : "addPlugin.html?name=" + encodeURIComponent(plugin.name) + "&guid=" + plugin.guid;
var target = plugin.externalUrl ? ' target="_blank"' : '';
html += "<a class='posterItem backdropPosterItem transparentPosterItem borderlessPosterItem' href='" + href + "' " + target + ">";