1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-12-02 06:24:11 +01:00

Bookmarklet Window closes itself after submit.

This commit is contained in:
Marvin Thomas Rabe 2012-02-21 23:08:57 +01:00
parent 192f7bf430
commit 2a17b5f690

View File

@ -10,7 +10,7 @@ function addBookmark(event) {
url: 'ajax/addBookmark.php', url: 'ajax/addBookmark.php',
data: 'url=' + encodeURI(url) + '&title=' + encodeURI(title) + '&tags=' + encodeURI(tags), data: 'url=' + encodeURI(url) + '&title=' + encodeURI(title) + '&tags=' + encodeURI(tags),
success: function(data){ success: function(data){
location.href='index.php'; window.close();
} }
}); });
} }