Skip to content

Commit

Permalink
4.10.23 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
eljeffeg committed Jan 28, 2024
1 parent 2f4955d commit 1de45d0
Show file tree
Hide file tree
Showing 6 changed files with 159 additions and 97 deletions.
12 changes: 12 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,18 @@
"All_Collections": {
"message": "All Collections"
},
"Collections": {
"message": "Collections"
},
"Publications": {
"message": "Publications"
},
"Holocaust": {
"message": "Holocaust"
},
"Name_Search": {
"message": "Name Search"
},
"Gravestones": {
"message": "Gravestones"
},
Expand Down
1 change: 1 addition & 0 deletions buildform.js
Original file line number Diff line number Diff line change
Expand Up @@ -1894,6 +1894,7 @@ function cleanDate(dateval) {
dateval = dateval.replace(/after/i, "After");
dateval = dateval.replace(/from/i, "After");
dateval = dateval.replace(/^in /i, "");
dateval = dateval.replace(/\s+/g, ' ');
if (dateval.contains(".")) {
if (dateval.search(/\w\./) !== -1) {
dateval = dateval.replace(/\./g,"");
Expand Down
6 changes: 6 additions & 0 deletions collections/tng.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,13 @@ function parseTNG(htmlstring, familymembers, relation) {
}

profiledata["birth"] = parseTNGDate(parsed, "Born");
if (profiledata["birth"].length === 0) {
profiledata["birth"] = parseTNGDate(parsed, "Birth");
}
profiledata["death"] = parseTNGDate(parsed, "Died");
if (profiledata["death"].length === 0) {
profiledata["death"] = parseTNGDate(parsed, "Death");
}

var occupation = getTNGFieldText(parsed, "OCCU");
if (occupation !== "") {
Expand Down
14 changes: 10 additions & 4 deletions content.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,17 @@ function initializeContent() {
function runContent() {
if (getsettingsdone) {
if (tablink.contains("www.geni.com/people/")) {
$($($("#overview_tab_content").find(".flt_r")[0]).find("a")[0]).on('click', function () {
if (addbioonoff) {
addBioButton();
if ($("#overview_tab_content").length > 0) {
if ($("#overview_tab_content").find(".flt_r").length < 1) {
setTimeout(runContent, 100);
return
}
});
$($($("#overview_tab_content").find(".flt_r")[0]).find("a")[0]).on('click', function () {
if (addbioonoff) {
addBioButton();
}
});
}
} else if (isGeniProject(tablink)) {
if (exportprojectsonoff) {
addProjectExportButton();
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"short_name": "__MSG_appShortName__",
"description": "__MSG_appDesc__",
"default_locale": "en",
"version": "4.10.22",
"version": "4.10.23",
"icons": { "16": "images/icon16.png",
"48": "images/icon48.png",
"128": "images/icon128.png" },
Expand Down
Loading

0 comments on commit 1de45d0

Please sign in to comment.