Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for http://forum.yacy-websuche.de/viewtopic.php?f=6&t=1874#p12914
apfelmaennchenaa13d03b995d
diff --git a/htroot/yacy/ui/yacyui-bookmarks.html b/htroot/yacy/ui/yacyui-bookmarks.htmlindex 405e11e79..d70db2448 100644--- a/htroot/yacy/ui/yacyui-bookmarks.html+++ b/htroot/yacy/ui/yacyui-bookmarks.html@@ -63,17 +63,19 @@window.document.location.href = '/api/bookmarks/get_bookmarks.xml?tag='+qtag;}else if (com=='Delete') {- confirm('Delete ' + $('.trSelected',grid).length + ' bookmark(s)?')- $('.trSelected',grid).each(function(){- var url = "/api/bookmarks/posts/delete_p.xml?login=&urlhash="+$(this).find('td :first').text();- $.ajax({- type: 'POST',- url: url,- dataType: 'xml'- }); // close $.ajax(- }); //close each(- loadTagCloud();- reloadBM();+ var check = confirm('Delete ' + $('.trSelected',grid).length + ' bookmark(s)?');+ if(check == true) {+ $('.trSelected',grid).each(function(){+ var url = "/api/bookmarks/posts/delete_p.xml?login=&urlhash="+$(this).find('td :first').text();+ $.ajax({+ type: 'POST',+ url: url,+ dataType: 'xml'+ }); // close $.ajax(+ }); //close each(+ loadTagCloud();+ reloadBM();+ }}else if (com=='Add') {$('#bmaddform').resetForm();