Bookmarklet Window closes itself after submit.

This commit is contained in:
Marvin Thomas Rabe 2012-02-21 23:08:57 +01:00
parent d9914664f6
commit e2d6bf4c63
1 changed files with 1 additions and 1 deletions

View File

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