Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Do not close current tab
I found it very annoying the the active tab is always closed after adding it to OmniFocus. There is also a review for this AddOn mentioning the same issue.
If I had more knowledge in Firefox AddOn I would add some settings to the AddOn.
- Close current tab: yes/no
- Configure tab title suffix/affix
- Shortcut
  • Loading branch information
PaulNokel authored Feb 6, 2017
commit b2e2ad828abf447cccfcc0e96a850ba07bc34ce0
3 changes: 1 addition & 2 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ function handleClick(state) {
var selection = require("sdk/selection");
var note = tabs.activeTab.url + (selection.text != undefined ? "\n" + selection.text : "");
tabs.open('omnifocus:///add?name=' + encodeURIComponent(name) + '&note=' + encodeURIComponent(note));
tabs.activeTab.close();
}
}