-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
/*! | ||
* owncloud_piwik v0.4.0 - 2018-04-16 | ||
* owncloud_piwik v0.4.1 - 2018-05-11 | ||
* | ||
* Copyright (c) 2018 Klaus Herberth <[email protected]> <br> | ||
* Released under the MIT license | ||
* | ||
* Please see https://github.com/sualko/owncloud_piwik | ||
* | ||
* @author Klaus Herberth <[email protected]> | ||
* @version 0.4.0 | ||
* @version 0.4.1 | ||
* @license MIT | ||
*/ | ||
|
||
|
@@ -53,7 +53,7 @@ var _paq = _paq || []; | |
function track(options) { | ||
var app = null; | ||
var path = window.location.pathname; | ||
var pathparts = path.match(/index\.php\/apps\/([a-z0-9]+)\/?/i) || path.match(/index\.php\/([a-z0-9]+)(\/([a-z0-9]+))?/i) || []; | ||
var pathparts = path.match(/(?:index\.php\/)?apps\/([a-z0-9]+)\/?/i) || path.match(/(?:index\.php\/)?([a-z0-9]+)(\/([a-z0-9]+))?/i) || []; | ||
|
||
if (pathparts.length >= 2) { | ||
app = pathparts[1]; | ||
|
@@ -86,7 +86,7 @@ var _paq = _paq || []; | |
_paq.push(['setUserId', OC.currentUser]); | ||
} | ||
|
||
if (options.trackDir === 'on') { | ||
if (options.trackDir === 'on' || options.trackDir === true) { | ||
// track file browsing | ||
|
||
$('#app-content').delegate('>div', 'afterChangeDirectory', function() { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters