Skip to content
Snippets Groups Projects
Commit 05af3da9 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

when there is a problem with removing comment info will be reported to the gui

parent 7f1472b1
No related branches found
No related tags found
1 merge request!327Resolve "removing comments doesn't work"
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
var AbstractGuiElement = require('../AbstractGuiElement'); var AbstractGuiElement = require('../AbstractGuiElement');
var Functions = require('../../Functions'); var Functions = require('../../Functions');
var GuiConnector = require('../../GuiConnector');
// noinspection JSUnusedLocalSymbols // noinspection JSUnusedLocalSymbols
var logger = require('../../logger'); var logger = require('../../logger');
...@@ -84,7 +85,7 @@ CommentsAdminPanel.prototype.refreshComments = function () { ...@@ -84,7 +85,7 @@ CommentsAdminPanel.prototype.refreshComments = function () {
button.style.display = "none"; button.style.display = "none";
}); });
} }
}) }).catch(GuiConnector.alert)
}); });
}); });
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment