fixes #271 - No message when plugin is not configurable
This commit is contained in:
parent
7007c76980
commit
4b722b3282
1 changed files with 5 additions and 3 deletions
|
@ -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>";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue