mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-01-22 18:52:10 +01:00
Per PR suggestion added a dialog indicating that bookmark was successfully
saved which closes after one second.
This commit is contained in:
parent
f67dc417c3
commit
c1b50fd0ce
@ -50,7 +50,10 @@ $(document).ready(function () {
|
||||
},
|
||||
success: function (data) {
|
||||
if (data.status === 'success') {
|
||||
window.close();
|
||||
OC.dialogs.message("Bookmark added.", "Success", undefined, [], undefined, true)
|
||||
_.delay(function() {
|
||||
window.close();
|
||||
}, 1e3);
|
||||
} else {
|
||||
OC.dialogs.alert(t("bookmarks", "Some Error happened."),
|
||||
t("bookmarks", "Error"), null, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user