Fix rename field
This commit is contained in:
parent
592982b6f3
commit
402bc4d998
2 changed files with 4 additions and 4 deletions
|
@ -50,9 +50,9 @@ function init() {
|
|||
if( e.keyCode == 13 )
|
||||
$('#b_search').click();
|
||||
});
|
||||
$('#b_comment').keyup(function(e) {
|
||||
$('#b_rename').keyup(function(e) {
|
||||
if( e.keyCode == 13 )
|
||||
$('#b_comment_send').click();
|
||||
$('#do_rename').click();
|
||||
});
|
||||
checkHasOSM();
|
||||
filterSelect(true);
|
||||
|
@ -125,7 +125,7 @@ function updateBorders() {
|
|||
'ymin': b.getSouth(),
|
||||
'ymax': b.getNorth(),
|
||||
'points': (map.getZoom() < 10 ? 1 : 0),
|
||||
'rank': maxRank
|
||||
'rank': maxRank
|
||||
},
|
||||
success: processCrossing,
|
||||
dataType: 'json'
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
<span id="b_name"></span><br>
|
||||
<div id="rename">
|
||||
<input type="text" id="b_rename">
|
||||
<button onclick="bRename()">Переименовать</button>
|
||||
<button id="do_rename" onclick="bRename()">Переименовать</button>
|
||||
</div>
|
||||
<b>Оценка размера:</b> <span id="b_size"></span><br>
|
||||
<b>Последняя правка:</b> <span id="b_date"></span><br>
|
||||
|
|
Loading…
Add table
Reference in a new issue