...
 
Commits (2)
{
"extensionName": {
"message": "Todolab-webext",
"description": "Name of the extension."
},
"extensionDescription": {
"message": "Allows quick creation of Gitlab issues from web pages for a TODO list.",
"description": "Description of the extension"
}
}
{
"manifest_version": 2,
"name": "Todolab-webext",
"default_locale": "en",
"name": "__MSG_extensionName__",
"version": "1.0",
"description": "Allows quick creation of Gitlab issues from web pages for a TODO list.",
"description": "__MSG_extensionDescription__",
"applications": {
"gecko": {
......@@ -44,7 +45,7 @@
"size": 64
}
],
"default_title": "Todolab-webext",
"default_title": "__MSG_extensionName__",
"default_popup": "popup/save_page.html"
},
......
......@@ -15,8 +15,8 @@ function restoreOptions(data) {
gitlab_path_field.value = data.gitlab_path || "";
gitlab_token_field.value = data.gitlab_token || "";
gitlab_label_field.value = data.gitlab_label || "";
gitlab_projid_field.innerHTML = data.gitlab_project_id || "Not found";
gitlab_userid_field.innerHTML = data.gitlab_user_id || "Not found";
gitlab_projid_field.textContent = data.gitlab_project_id || "Not found";
gitlab_userid_field.textContent = data.gitlab_user_id || "Not found";
}
/* TODO: We should check issues_enabled and issues_access_level as well */
......
......@@ -103,7 +103,7 @@ function todoCountUpdate(data) {
txt += "s";
}
num_todos.innerHTML = txt;
num_todos.textContent = txt;
}
function showOptionsLink(e) {
......