Skip to content
Snippets Groups Projects
Commit ed28aa95 authored by jurgenhaas's avatar jurgenhaas
Browse files

#4 Support for tags

parent 39b0ceb2
No related branches found
Tags feat-mac-001
No related merge requests found
......@@ -2,7 +2,7 @@
* JavaScript Library for Toggl-Button for GreaseMonkey
*
* (c) Jürgen Haas, PARAGON Executive Services GmbH
* Version: 1.8
* Version: 1.9
*
* @see https://gitlab.paragon-es.de/toggl-button/core
*------------------------------------------------------------------------
......@@ -219,7 +219,8 @@ function TogglButtonGM(selector, renderer) {
$projectId = null,
$projectSelected = false,
$projectSelectElem = null,
$stopCallback = null;
$stopCallback = null,
$tags = params.tags || [];
this.checkCurrentLinkStatus = function (data) {
var started, updateRequired = false;
......@@ -401,6 +402,7 @@ function TogglButtonGM(selector, renderer) {
pid: timeEntry.$projectId || null,
billable: timeEntry.billable || false,
duration: -(start.getTime() / 1000),
tags: $tags,
created_with: timeEntry.createdWith || 'TogglButtonGM'
}
}),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment