Set some good default to prevent failing
这个提交包含在:
父节点
a4e8e36e28
当前提交
f8d5a271fd
共有 1 个文件被更改,包括 2 次插入 和 1 次删除
|
|
@ -17,7 +17,7 @@ if (typeof(visitor) !== 'undefined' && visitor != true) {
|
||||||
var grid_six_confirmed = '';
|
var grid_six_confirmed = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
function gridPlot(form, visitor) {
|
function gridPlot(form, visitor=true) {
|
||||||
$(".ld-ext-right-plot").addClass('running');
|
$(".ld-ext-right-plot").addClass('running');
|
||||||
$(".ld-ext-right-plot").prop('disabled', true);
|
$(".ld-ext-right-plot").prop('disabled', true);
|
||||||
$('#plot').prop("disabled", true);
|
$('#plot').prop("disabled", true);
|
||||||
|
|
@ -30,6 +30,7 @@ function gridPlot(form, visitor) {
|
||||||
$("#gridmapcontainer").append('<div id="gridsquare_map" style="width: 100%; height: 800px"></div>');
|
$("#gridmapcontainer").append('<div id="gridsquare_map" style="width: 100%; height: 800px"></div>');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (typeof type == 'undefined') { type=''; }
|
||||||
if (type == "activated") {
|
if (type == "activated") {
|
||||||
ajax_url = site_url + '/activated_gridmap/getGridsjs';
|
ajax_url = site_url + '/activated_gridmap/getGridsjs';
|
||||||
} else if (type == "worked") {
|
} else if (type == "worked") {
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用