ep_bookmark
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -12,3 +12,4 @@ { | ||
"documentReady": "ep_bookmark/static/js/index", | ||
"postAceInit": "ep_bookmark/static/js/index" | ||
"postAceInit": "ep_bookmark/static/js/index", | ||
"postToolbarInit": "ep_bookmark/static/js/index" | ||
} | ||
@@ -15,0 +16,0 @@ } |
{ | ||
"name": "ep_bookmark", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"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>", |
@@ -305,9 +305,6 @@ /** | ||
var documentReady = function (hook, context) { | ||
$("#managePadBookmarks").click(function () { | ||
$("#managePadBookmarks a").click(function () { | ||
var module = $("#padBookmarkManager"); | ||
if (module.css('display') != "none") { | ||
module.slideUp("fast"); | ||
} else { | ||
module.slideDown("fast"); | ||
if (module.css('display') == "none") { | ||
$("#addPadBookmark").val(html10n.get("ep_bookmark.addPadToBookmarks")); | ||
@@ -342,4 +339,9 @@ $("#infoText").attr("title", html10n.get("ep_bookmark.info.title")); | ||
var postToolbarInit = function(hook, context) { | ||
context.toolbar.registerDropdownCommand("padBookmarkManager"); | ||
} | ||
// Export hook functions | ||
exports.documentReady = documentReady; | ||
exports.postAceInit = postAceInit; | ||
exports.postToolbarInit = postToolbarInit; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
18417
430