mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
parent
1710e284c8
commit
1c1c35522b
|
@ -178,12 +178,12 @@ function boxEdited() {
|
||||||
if (editingId == -1)
|
if (editingId == -1)
|
||||||
return;
|
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 box = document.getElementById('quickdial').getElementsByTagName('div')[editingId];
|
||||||
var a = box.getElementsByTagName('a')[0];
|
var a = box.getElementsByTagName('a')[0];
|
||||||
var originalUrl = a.getAttribute('href');
|
var originalUrl = a.getAttribute('href');
|
||||||
setBoxUrl(editingId, newUrl);
|
setBoxUrl(editingId, newUrl);
|
||||||
setBoxTitle(editingId, $('#formTitle').attr("value"));
|
setBoxTitle(editingId, $('#formTitle').val());
|
||||||
var changedUrl = a.getAttribute('href');
|
var changedUrl = a.getAttribute('href');
|
||||||
var fetchTitleChecked = document.getElementById('fetchTitle').checked;
|
var fetchTitleChecked = document.getElementById('fetchTitle').checked;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user