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:
parent
192f7bf430
commit
2a17b5f690
@ -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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user