|
|
|
@ -362,7 +362,9 @@ function allAddCrontab(dataList,successCount,errorMsg){ |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$(".dropdown ul li a").click(function(){ |
|
|
|
|
initDropdownMenu(); |
|
|
|
|
function initDropdownMenu(){ |
|
|
|
|
$(".dropdown ul li a").click(function(){ |
|
|
|
|
var txt = $(this).text(); |
|
|
|
|
var type = $(this).attr("value"); |
|
|
|
|
$(this).parents(".dropdown").find("button b").text(txt).attr("val",type); |
|
|
|
@ -431,7 +433,8 @@ $(".dropdown ul li a").click(function(){ |
|
|
|
|
$(".controls").html('URL地址'); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//备份
|
|
|
|
@ -664,6 +667,9 @@ function editTaskInfo(id){ |
|
|
|
|
<div class="bt-submit plan-submits " style="margin-left: 141px;">保存编辑</div>\ |
|
|
|
|
</div>\ |
|
|
|
|
</div>' |
|
|
|
|
,cancel: function(){
|
|
|
|
|
initDropdownMenu(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
setTimeout(function(){ |
|
|
|
|
if(obj.from.stype == 'toShell'){ |
|
|
|
@ -805,6 +811,7 @@ function editTaskInfo(id){ |
|
|
|
|
layer.closeAll(); |
|
|
|
|
getCronData(1); |
|
|
|
|
layer.msg(rdata.msg,{icon:rdata.status?1:2}); |
|
|
|
|
initDropdownMenu(); |
|
|
|
|
},'json'); |
|
|
|
|
}); |
|
|
|
|
},100); |
|
|
|
|