WebBrowser/data/html/speeddialPage.html

branch
maintenance
changeset 6400
3973b57d6b99
parent 6220
dd4a8b507144
--- a/WebBrowser/data/html/speeddialPage.html	Tue Jul 03 19:59:29 2018 +0200
+++ b/WebBrowser/data/html/speeddialPage.html	Wed Jul 04 19:36:17 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