aboutsummaryrefslogtreecommitdiff
path: root/tools/gui/resources/web/main.js
diff options
context:
space:
mode:
authortim-zh <tim.zhlobich@gmail.com>2017-05-01 18:55:33 +0300
committertim-zh <tim.zhlobich@gmail.com>2017-05-01 18:55:33 +0300
commitae4b7b1ef5ec86f8ac5859d6e3593ba49885f036 (patch)
tree82c2a55aa43e4334e514d15b95b8136ce33928c7 /tools/gui/resources/web/main.js
parentfb0c68ffab35db304771e177ce93f80a680fabcc (diff)
downloadcbt-ae4b7b1ef5ec86f8ac5859d6e3593ba49885f036.tar.gz
cbt-ae4b7b1ef5ec86f8ac5859d6e3593ba49885f036.tar.bz2
cbt-ae4b7b1ef5ec86f8ac5859d6e3593ba49885f036.zip
Fix #421 Html notifications
Diffstat (limited to 'tools/gui/resources/web/main.js')
-rw-r--r--tools/gui/resources/web/main.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gui/resources/web/main.js b/tools/gui/resources/web/main.js
index 139795a..3a5e418 100644
--- a/tools/gui/resources/web/main.js
+++ b/tools/gui/resources/web/main.js
@@ -1,4 +1,4 @@
-Notifications.init();
+Notifications.init($("#notifications"));
Popup.init($("#popup"), $("#popup-table"));
@@ -35,7 +35,7 @@ function createProject() {
dependencies: Dependencies.serialize(),
flags: getFlags()
}, "post").done(() => {
- Notifications.show("Done.");
+ Notifications.show("Project created.");
}).always(() => {
button.innerHTML = buttonText;
button.disabled = false;
@@ -65,7 +65,7 @@ function copyProject() {
button.blur();
button.disabled = true;
ajax("/project/copy", {name: name}, "post").done(() => {
- Notifications.show("Done.");
+ Notifications.show("Project copied.");
}).always(() => {
button.innerHTML = buttonText;
button.disabled = false;