@@ -25,7 +25,8 @@ function updateStatus(obj, id){
ajax(apiUrl+"forecast/frame",{"forecastId": id,"onFrame": status},function(res){
if(res.code == 1){
$(obj).text(statusTxt);
- $(obj).data("status",status == -1 ? 0 : -1);
+ $(obj).data("status", (status == -1 ? 0 : -1));
+ console.log($(obj).data());
}
});