Skip to content
Snippets Groups Projects
Commit 0ee9d35a authored by Anton Bagliy's avatar Anton Bagliy
Browse files

ADD: reload page after map copy #335

parent 45376484
Branches
No related merge requests found
...@@ -406,8 +406,9 @@ $(document).ready(function () { ...@@ -406,8 +406,9 @@ $(document).ready(function () {
data = $.parseJSON(data); data = $.parseJSON(data);
if (data.response.success === true) { if (data.response.success === true) {
EventInspector.success('УКД успешно скопирована!');
wnd.hide(); wnd.hide();
EventInspector.success('УКД успешно скопирована!');
setTimeout(function() { location.reload() }, 1000);
} else EventInspector.error('УКД не скопирована'); } else EventInspector.error('УКД не скопирована');
}, },
error: function () { error: function () {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment