|
|
@ -180,7 +180,11 @@ define([
|
|
|
|
common.reportAppUsage = function () {
|
|
|
|
common.reportAppUsage = function () {
|
|
|
|
var pattern = window.location.pathname.split('/')
|
|
|
|
var pattern = window.location.pathname.split('/')
|
|
|
|
.filter(function (x) { return x; }).join('.');
|
|
|
|
.filter(function (x) { return x; }).join('.');
|
|
|
|
|
|
|
|
if (/^#\/1\/view\//.test(window.location.hash)) {
|
|
|
|
|
|
|
|
feedback(pattern + '_VIEW');
|
|
|
|
|
|
|
|
} else {
|
|
|
|
feedback(pattern);
|
|
|
|
feedback(pattern);
|
|
|
|
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
common.reportScreenDimensions = function () {
|
|
|
|
common.reportScreenDimensions = function () {
|
|
|
@ -188,6 +192,9 @@ define([
|
|
|
|
var w = window.innerWidth;
|
|
|
|
var w = window.innerWidth;
|
|
|
|
feedback('DIMENSIONS:' + h + 'x' + w);
|
|
|
|
feedback('DIMENSIONS:' + h + 'x' + w);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
common.reportLanguage = function () {
|
|
|
|
|
|
|
|
feedback('LANG_' + Messages._languageUsed);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
common.getUid = function () {
|
|
|
|
common.getUid = function () {
|
|
|
|
if (store && store.getProxy() && store.getProxy().proxy) {
|
|
|
|
if (store && store.getProxy() && store.getProxy().proxy) {
|
|
|
@ -1736,6 +1743,7 @@ define([
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
common.reportScreenDimensions();
|
|
|
|
common.reportScreenDimensions();
|
|
|
|
|
|
|
|
common.reportLanguage();
|
|
|
|
|
|
|
|
|
|
|
|
$(function() {
|
|
|
|
$(function() {
|
|
|
|
// Race condition : if document.body is undefined when alertify.js is loaded, Alertify
|
|
|
|
// Race condition : if document.body is undefined when alertify.js is loaded, Alertify
|
|
|
|