mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
76c25b6e01
commit
7f27d46d8f
2 changed files with 5 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ function GenerateHtmlListNameCombo(listName, masterLists) {
|
|||
});
|
||||
masterListNames = masterListNames.slice(0, -3)
|
||||
if (listName) {
|
||||
var html = "<h3 id=\"" + listName + "\">" + listName + "</h3><br>";
|
||||
var html = "<h3 id=\"" + TrimUrlSlug(listName) + "\">" + listName + "</h3><br>";
|
||||
html += masterListNames;
|
||||
return html;
|
||||
} else if (masterLists) {
|
||||
|
|
|
|||
|
|
@ -18,10 +18,14 @@ var ss = SpreadsheetApp.getActiveSpreadsheet(),
|
|||
options = [{
|
||||
name: "Refresh Data",
|
||||
functionName: "refreshJson"
|
||||
}, {
|
||||
name: "Refresh Scores",
|
||||
functionName: "refreshScores"
|
||||
}];
|
||||
|
||||
function onOpen() {
|
||||
ss.addMenu("Refresh Data", options);
|
||||
ss.addMenu("Refresh Scores", options);
|
||||
}
|
||||
|
||||
function refreshJson() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue