mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 13:22:28 +01:00
rename the BookmarkPost autocommand event to BookmarkAdd
This commit is contained in:
@@ -268,7 +268,7 @@ liberator.Bookmarks = function () //{{{
|
|||||||
//also update bookmark cache
|
//also update bookmark cache
|
||||||
bookmarks.unshift([url, title, keyword, tags || []]);
|
bookmarks.unshift([url, title, keyword, tags || []]);
|
||||||
|
|
||||||
liberator.autocommands.trigger("BookmarkPost", "");
|
liberator.autocommands.trigger("BookmarkAdd", "");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ liberator.config = { //{{{
|
|||||||
|
|
||||||
get visualbellWindow() { return getBrowser().mPanelContainer; },
|
get visualbellWindow() { return getBrowser().mPanelContainer; },
|
||||||
|
|
||||||
autocommands: [["BookmarkPost", "Triggered after a page is bookmarked"],
|
autocommands: [["BookmarkAdd", "Triggered after a page is bookmarked"],
|
||||||
["LocationChange", "Triggered when changing tabs or when naviagtion to a new location"],
|
["LocationChange", "Triggered when changing tabs or when naviagtion to a new location"],
|
||||||
["PageLoadPre", "Triggered after a page load is initiated"],
|
["PageLoadPre", "Triggered after a page load is initiated"],
|
||||||
["PageLoad", "Triggered when a page gets (re)loaded/opened"],
|
["PageLoad", "Triggered when a page gets (re)loaded/opened"],
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ Add {cmd} to the list of commands Vimperator will execute on {event} for a URL m
|
|||||||
Available {events}:
|
Available {events}:
|
||||||
|
|
||||||
`----------------`--------------------------------------------
|
`----------------`--------------------------------------------
|
||||||
*BookmarkPost* Triggered after a page is bookmarked
|
*BookmarkAdd* Triggered after a page is bookmarked
|
||||||
*LocationChange* Triggered when changing tabs or when navigating to a new location
|
*LocationChange* Triggered when changing tabs or when navigating to a new location
|
||||||
*PageLoadPre* Triggered after a page load is initiated.
|
*PageLoadPre* Triggered after a page load is initiated.
|
||||||
*PageLoad* Triggered when a page gets (re)loaded/opened
|
*PageLoad* Triggered when a page gets (re)loaded/opened
|
||||||
|
|||||||
Reference in New Issue
Block a user