ep_bookmark
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -8,3 +8,4 @@ { | ||
"eejsBlock_styles": "ep_bookmark/hooks:eejsBlock_styles", | ||
"eejsBlock_body": "ep_bookmark/hooks:eejsBlock_body" | ||
"eejsBlock_body": "ep_bookmark/hooks:eejsBlock_body", | ||
"eejsBlock_editorContainerBox": "ep_bookmark/hooks:eejsBlock_editorContainerBox" | ||
}, | ||
@@ -11,0 +12,0 @@ "client_hooks": { |
@@ -8,3 +8,3 @@ var eejs = require("ep_etherpad-lite/node/eejs"); | ||
exports.eejsBlock_body = function (hook_name, args, cb) { | ||
exports.eejsBlock_editorContainerBox = function (hook_name, args, cb) { | ||
args.content = args.content + eejs.require("ep_bookmark/templates/modals.ejs", {}, module); | ||
@@ -14,2 +14,7 @@ return cb(); | ||
exports.eejsBlock_body = function (hook_name, args, cb) { | ||
args.content = args.content + eejs.require("ep_bookmark/templates/modals.old.ejs", {}, module); | ||
return cb(); | ||
} | ||
exports.eejsBlock_styles = function (hook_name, args, cb) { | ||
@@ -16,0 +21,0 @@ args.content = args.content + eejs.require("ep_bookmark/templates/styles.ejs", {}, module); |
@@ -17,3 +17,3 @@ { | ||
"ep_bookmark.notSupported": "Your browser does not support saving of bookmarks.", | ||
"ep_bookmark.searchPlaceholder": "Search for padssssssss" | ||
"ep_bookmark.searchPlaceholder": "Search for pads" | ||
} |
{ | ||
"name": "ep_bookmark", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "Etherpad plugin for users to save a list of bookmarks of their visited pads locally in the browser's local storage", | ||
@@ -5,0 +5,0 @@ "author": "gared (STEFAN MUELLER) <stefan@stefans-entwicklerecke.de>", |
@@ -321,20 +321,16 @@ /** | ||
$("#managePadBookmarks a").click(function () { | ||
var module = $("#padBookmarkManager"); | ||
$("#addPadBookmark").val(html10n.get("ep_bookmark.addPadToBookmarks")); | ||
$("#infoText").attr("title", html10n.get("ep_bookmark.info.title")); | ||
$("#addBookmarksAutomatically").attr('title', html10n.get("ep_bookmark.addBookmarksAutomatically.title")); | ||
$("#managePadBookmarks").attr('title', html10n.get("ep_bookmark.bookmarkTitle")); | ||
if (module.css('display') === "none") { | ||
$("#addPadBookmark").val(html10n.get("ep_bookmark.addPadToBookmarks")); | ||
$("#infoText").attr("title", html10n.get("ep_bookmark.info.title")); | ||
$("#addBookmarksAutomatically").attr('title', html10n.get("ep_bookmark.addBookmarksAutomatically.title")); | ||
$("#managePadBookmarks").attr('title', html10n.get("ep_bookmark.bookmarkTitle")); | ||
if (bookmarkStorage.supported()) { | ||
$("#padBookmarkMain").show(); | ||
$("#padBookmarkError").hide(); | ||
$("#autoAddBookmarkCheckbox").attr('checked', bookmarkStorage.getOption("addBookmarksAutomatically")); | ||
$("#addPadBookmark").attr('disabled', $("#autoAddBookmarkCheckbox").attr('checked')); | ||
refreshPadList(bookmarkStorage.getAllPadBookmarks()); | ||
} else { | ||
$("#padBookmarkMain").hide(); | ||
$("#padBookmarkError").show(); | ||
} | ||
if (bookmarkStorage.supported()) { | ||
$("#padBookmarkMain").show(); | ||
$("#padBookmarkError").hide(); | ||
$("#autoAddBookmarkCheckbox").attr('checked', bookmarkStorage.getOption("addBookmarksAutomatically")); | ||
$("#addPadBookmark").attr('disabled', $("#autoAddBookmarkCheckbox").attr('checked')); | ||
refreshPadList(bookmarkStorage.getAllPadBookmarks()); | ||
} else { | ||
$("#padBookmarkMain").hide(); | ||
$("#padBookmarkError").show(); | ||
} | ||
@@ -341,0 +337,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21477
13