aboutsummaryrefslogtreecommitdiffstats
path: root/apps/bookmarks/js/addBm.js
diff options
context:
space:
mode:
authorMarvin Thomas Rabe <m.rabe@echtzeitraum.de>2012-02-21 23:08:57 +0100
committerMarvin Thomas Rabe <m.rabe@echtzeitraum.de>2012-02-22 16:04:32 +0100
commite2d6bf4c63b82573c266fb064dedf076eafd7261 (patch)
tree864867c6df2a82f71e61d38afd79fa2c238e64e4 /apps/bookmarks/js/addBm.js
parentd9914664f651a6be352084b82b2bf6ce6372b228 (diff)
downloadnextcloud-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.js2
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