25 lines
758 B
JavaScript
25 lines
758 B
JavaScript
(function(){
|
|
X.pageLogic['modeltable'] = {
|
|
init : function(parms){
|
|
var me = this;
|
|
this.parms = parms;
|
|
this.callback = parms.callback;
|
|
var data = parms;
|
|
console.log(data);
|
|
X.laytpldata("#kanban-model-modify-table-dot",data,"model"+data.id,function(html){
|
|
|
|
$("#model"+data.id).html(html);
|
|
})
|
|
|
|
// for(var i in data){
|
|
// X.laytpldata("#kanban-model-table-dot",data[i],null,function(html){
|
|
// // console.log($("#model-box").html());
|
|
// console.log(html);
|
|
// $('#model-box').append(html);
|
|
// });
|
|
// }
|
|
|
|
|
|
}
|
|
};
|
|
})(); |