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

fixes #271 - No message when plugin is not configurable

This commit is contained in:
Luke Pulverenti 2013-05-13 11:07:24 -04:00
parent 7007c76980
commit 4b722b3282

View file

@ -41,9 +41,11 @@
html += "<li>";
var href = configPage ? Dashboard.getConfigurationPageUrl(configPage.Name) : "#";
html += "<a href='" + href + "'>";
if (configPage) {
html += "<a href='" + Dashboard.getConfigurationPageUrl(configPage.Name) + "'>";
} else {
html += "<a onclick='Dashboard.alert(\"Nothing to configure.\");' href='#'>";
}
html += "<h3>" + plugin.Name + "</h3>";