diff options
author | tim-zh <tim.zhlobich@gmail.com> | 2017-05-01 18:55:33 +0300 |
---|---|---|
committer | tim-zh <tim.zhlobich@gmail.com> | 2017-05-01 18:55:33 +0300 |
commit | ae4b7b1ef5ec86f8ac5859d6e3593ba49885f036 (patch) | |
tree | 82c2a55aa43e4334e514d15b95b8136ce33928c7 /tools/gui/resources/web/main.js | |
parent | fb0c68ffab35db304771e177ce93f80a680fabcc (diff) | |
download | cbt-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.js | 6 |
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; |