WebBrowser/data/html/speeddialPage.html

changeset 6401
f3b56f94a463
parent 6220
dd4a8b507144
--- a/WebBrowser/data/html/speeddialPage.html	Tue Jul 03 19:57:17 2018 +0200
+++ b/WebBrowser/data/html/speeddialPage.html	Wed Jul 04 19:36:49 2018 +0200
@@ -253,7 +253,7 @@
 }
 
 function onRemoveClick(box) {
-    removeBox($(box).index());
+    removeBox($(box).index() - 1);
 }
 
 function onEditKeyPress(e) {
@@ -289,7 +289,7 @@
 }
 
 function onEditClick(box) {
-    editingId = $(box).index();
+    editingId = $(box).index() - 1;
     var boxUrl = $(box).children('a').first().attr('href');
     var boxTitle = escapeTitle($(box).children('span').first().text());
     if (boxUrl === '')

eric ide

mercurial