This commit is contained in:
2023-05-30 17:34:56 +08:00
parent e728c66786
commit 9da1c4cf30
194 changed files with 10680 additions and 9060 deletions

View File

@ -508,6 +508,7 @@
$('#dialog_selectlocation').dialog(function () {
if (!$("#dialog_location").is(":visible"))
showmaskbg(false);
$('#dialog_location').find('.maskbg').hide();
});
$('#searchinputtxt').keydown(searchEnter);
@ -557,6 +558,7 @@
$('#dialog_selectlocation .dialog-title span.title').text(GetTextByKey("P_SET_SELECTLOCATION", "Select Location"));
showmaskbg(true);
$('#dialog_location').find('.maskbg').show();
d.css({
'top': (document.documentElement.clientHeight - d.height()) / 3,
'left': (document.documentElement.clientWidth - d.width()) / 2
@ -595,6 +597,7 @@
function OnSelectLocationOK() {
$('#dialog_selectlocation').hideDialog();
$('#dialog_location').find('.maskbg').hide();
var loc = mapctrl.getLocation();
if (locationdata) {
locationdata.Latitude = loc[0];
@ -763,7 +766,7 @@
<tr>
<td class="label" data-lgid="P_SET_NOTES_COLON">Notes:</td>
<td colspan="2">
<textarea id="dialog_notes" class="inputbox" maxlength="1000" tabindex="6" style="width: 320px;"></textarea></td>
<textarea id="dialog_notes" maxlength="1000" tabindex="6" style="width: 320px;"></textarea></td>
</tr>
</table>
</div>
@ -772,6 +775,7 @@
<input type="button" onclick="OnDialogOK();" value="OK" data-lgid="P_SET_OK" tabindex="7" />
<div class="clear"></div>
</div>
<div class="maskbg" style="display: none;"></div>
</div>
<div class="dialog" id="dialog_selectlocation" style="display: none;">