add a simple feedback api and text explaining what it is

This commit is contained in:
ansuz
2017-02-27 12:06:49 +01:00
parent 38893fb8e5
commit de5a21fe57
2 changed files with 26 additions and 0 deletions

View File

@@ -23,6 +23,15 @@ define([
Messages: Messages,
Alertify: Alertify,
};
common.feedback = function (action) {
if (!action) { return; }
$.ajax({
type: "HEAD",
url: '/common/feedback.html?' + action + '=' + (+new Date()),
});
};
var store;
var find = common.find = function (map, path) {