From 792acc33ed77bba7acc9ea1380b52b1c847105ad Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Mon, 18 Nov 2013 07:01:33 +0000 Subject: [PATCH] bookmarks plugin: fix error caused by missing hook parameters. i've guessed as to what was expected here, but they don't seem to be used much anyway --- plugins/bookmarks-by-zaso.user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/bookmarks-by-zaso.user.js b/plugins/bookmarks-by-zaso.user.js index 5bcda534..86b5ef44 100644 --- a/plugins/bookmarks-by-zaso.user.js +++ b/plugins/bookmarks-by-zaso.user.js @@ -2,7 +2,7 @@ // @id iitc-plugin-bookmarks@ZasoGD // @name IITC plugin: Bookmarks for maps and portals // @category Controls -// @version 0.2.5.@@DATETIMEVERSION@@ +// @version 0.2.6.@@DATETIMEVERSION@@ // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@ @@ -196,7 +196,7 @@ window.plugin.bookmarks.bkmrksObj[typeList][ID]['state'] = newFlag; window.plugin.bookmarks.saveStorage(); - window.runHooks('pluginBkmrksEdit'); + window.runHooks('pluginBkmrksEdit', {"target": "folder", "action": newFlag?"open":"close", "id": ID}); } // Load the HTML bookmarks @@ -975,4 +975,4 @@ // PLUGIN END ////////////////////////////////////////////////////////// -@@PLUGINEND@@ \ No newline at end of file +@@PLUGINEND@@