From 1c1c35522b7db94104a4ca48e460ea0ef26abd3a Mon Sep 17 00:00:00 2001 From: David Rosca Date: Tue, 7 Feb 2017 15:07:44 +0100 Subject: [PATCH] SpeedDial: Fix editing url of entries Closes #2197 --- src/lib/data/html/speeddial.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/data/html/speeddial.html b/src/lib/data/html/speeddial.html index 41f01ac32..62969910a 100644 --- a/src/lib/data/html/speeddial.html +++ b/src/lib/data/html/speeddial.html @@ -178,12 +178,12 @@ function boxEdited() { if (editingId == -1) return; - external.speedDial.urlFromUserInput($('#formUrl').attr("value"), function(newUrl) { + external.speedDial.urlFromUserInput($('#formUrl').val(), function(newUrl) { var box = document.getElementById('quickdial').getElementsByTagName('div')[editingId]; var a = box.getElementsByTagName('a')[0]; var originalUrl = a.getAttribute('href'); setBoxUrl(editingId, newUrl); - setBoxTitle(editingId, $('#formTitle').attr("value")); + setBoxTitle(editingId, $('#formTitle').val()); var changedUrl = a.getAttribute('href'); var fetchTitleChecked = document.getElementById('fetchTitle').checked;