.
This commit is contained in:
@ -453,6 +453,7 @@
|
||||
|
||||
var dialogAssets = new $assetselector('dialog_machines');
|
||||
dialogAssets.jobsiteId = jobsiteid;
|
||||
dialogAssets.allowotherfilter = false;
|
||||
dialogAssets.onDialogClosed = function () {
|
||||
$("#dialogmask").hide();
|
||||
$('#dialog_machines').remove();
|
||||
@ -531,7 +532,9 @@
|
||||
|
||||
function OnSiteChanging(item, input) {
|
||||
var input_chk = $(input).closest('td').find('input');
|
||||
var checked = $(input_chk).prop('checked');
|
||||
var checked = !$(input_chk).prop('checked');
|
||||
if (navigator.userAgent.toUpperCase().indexOf("FIREFOX") >= 0)
|
||||
checked = !checked;
|
||||
var text = GetTextByKey("P_JS_ONSITETIPS", "You have manually assigned a jobsite. This action will disable geofence alerts and jobsite auto-assignment. Do you want to proceed? ");
|
||||
if (!checked)
|
||||
text = GetTextByKey("P_JS_ONSITETIPS1", "Are you sure you want to change the on-site of the asset:{0}?").replace('{0}', item.Name);
|
||||
|
Reference in New Issue
Block a user