diff options
author | Marvin Thomas Rabe <m.rabe@echtzeitraum.de> | 2012-02-21 23:08:57 +0100 |
---|---|---|
committer | Marvin Thomas Rabe <m.rabe@echtzeitraum.de> | 2012-02-22 16:04:32 +0100 |
commit | e2d6bf4c63b82573c266fb064dedf076eafd7261 (patch) | |
tree | 864867c6df2a82f71e61d38afd79fa2c238e64e4 /apps/bookmarks/js/addBm.js | |
parent | d9914664f651a6be352084b82b2bf6ce6372b228 (diff) | |
download | nextcloud-server-e2d6bf4c63b82573c266fb064dedf076eafd7261.tar.gz nextcloud-server-e2d6bf4c63b82573c266fb064dedf076eafd7261.zip |
Bookmarklet Window closes itself after submit.
Diffstat (limited to 'apps/bookmarks/js/addBm.js')
-rw-r--r-- | apps/bookmarks/js/addBm.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/js/addBm.js b/apps/bookmarks/js/addBm.js index 6e13b59bb2e..59735f80ca6 100644 --- a/apps/bookmarks/js/addBm.js +++ b/apps/bookmarks/js/addBm.js @@ -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(); } }); }
\ No newline at end of file |