diff options
author | Abyss777 <abyss@fox5.ru> | 2017-11-08 15:04:43 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-11-13 12:33:27 +0500 |
commit | d93e45e176fc2cbba6525f100ef084d904baa1c1 (patch) | |
tree | 4b704e487600bda6c1604e39c1c1719962808525 /web/app/view/State.js | |
parent | b36bb685ff31b06c7f50e660aebd3a69db5de5d7 (diff) | |
download | trackermap-web-d93e45e176fc2cbba6525f100ef084d904baa1c1.tar.gz trackermap-web-d93e45e176fc2cbba6525f100ef084d904baa1c1.tar.bz2 trackermap-web-d93e45e176fc2cbba6525f100ef084d904baa1c1.zip |
Implement geocoding retry
Diffstat (limited to 'web/app/view/State.js')
-rw-r--r-- | web/app/view/State.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/app/view/State.js b/web/app/view/State.js index 32f95861..d4c56d79 100644 --- a/web/app/view/State.js +++ b/web/app/view/State.js @@ -63,6 +63,9 @@ Ext.define('Traccar.view.State', { renderer: function (value, metaData, record) { if (record.get('attribute') === 'alarm') { metaData.tdCls = 'view-color-red'; + } else if (record.get('name') === Strings.positionAddress && !value) { + return '<a href="#" onclick="Ext.fireEvent(\'stategeocode\')" >' + + Strings.stateShowAddress + '</a>'; } return value; } |