diff options
author | Jan Christopher Vogt <oss.nsp@cvogt.org> | 2017-05-01 14:02:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-01 14:02:09 -0400 |
commit | 6b26577a5e2bd16f7e4d943f160c6fac85210e46 (patch) | |
tree | 82c2a55aa43e4334e514d15b95b8136ce33928c7 /tools/gui/resources/web/main.js | |
parent | fb0c68ffab35db304771e177ce93f80a680fabcc (diff) | |
parent | ae4b7b1ef5ec86f8ac5859d6e3593ba49885f036 (diff) | |
download | cbt-6b26577a5e2bd16f7e4d943f160c6fac85210e46.tar.gz cbt-6b26577a5e2bd16f7e4d943f160c6fac85210e46.tar.bz2 cbt-6b26577a5e2bd16f7e4d943f160c6fac85210e46.zip |
Merge pull request #507 from tim-zh/issue/421
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; |