mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Fix focus and move cursor to end in SpeedDial
Focusing #formUrl without reseting its value doesnt moves the cursor to end. Differential Revision: https://phabricator.kde.org/D11765
This commit is contained in:
parent
eb09774455
commit
fc6f6cddd2
|
@ -627,7 +627,9 @@ function onEditClick(box) {
|
|||
$('#fadeOverlay').css({'filter' : 'alpha(opacity=100)'}).fadeIn();
|
||||
$('#fadeOverlay').click(function() {hideEditBox()});
|
||||
$('#overlay-edit').click(function(event) { event.stopPropagation(); });
|
||||
$('#formUrl').focus().val($('#formUrl').val()); // focus and move cursor to end
|
||||
|
||||
var temp = $('#formUrl').val();
|
||||
$('#formUrl').focus().val('').val(temp); // focus and move cursor to end
|
||||
}
|
||||
|
||||
function onReloadClick(box) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user