Compare commits
No commits in common. "1ee5647c9a3b4512281cc5f13dd034e0f6101223" and "faaf453ced2738140d83c532f22a2eefc89bc088" have entirely different histories.
1ee5647c9a
...
faaf453ced
@ -150,13 +150,12 @@ bricks.DynamicAccordion = class extends bricks.VScrollPanel {
|
|||||||
}
|
}
|
||||||
delete_record(info, record){
|
delete_record(info, record){
|
||||||
var conform_w = new bricks.Conform({
|
var conform_w = new bricks.Conform({
|
||||||
target:this,
|
|
||||||
title:'Delete conform',
|
title:'Delete conform',
|
||||||
message:'Are you sure to delete is record?'
|
message:'Are you sure to delete is record?'
|
||||||
});
|
});
|
||||||
conform_w.bind('conform', this.delete_record_act.bind(this, info, record));
|
conform_w.bind('conform', this.delete_record_act.bind(this, info, record));
|
||||||
}
|
}
|
||||||
delete_record_act(info, record){
|
delete_record_act(){
|
||||||
url = this.editable.delete_record_url + '?id=' + record.id;
|
url = this.editable.delete_record_url + '?id=' + record.id;
|
||||||
var hc = new bricks.HttpClient();
|
var hc = new bricks.HttpClient();
|
||||||
var r = hc.get(url);
|
var r = hc.get(url);
|
||||||
|
@ -224,6 +224,7 @@ var archorize = function(ele,archor){
|
|||||||
'y':y
|
'y':y
|
||||||
}
|
}
|
||||||
var tsf = bricks.obj_fmtstr(o, 'translateY(-${y}) translateX(-${x})');
|
var tsf = bricks.obj_fmtstr(o, 'translateY(-${y}) translateX(-${x})');
|
||||||
|
bricks.debug('archorize(): tsf=', tsf);
|
||||||
ele.style.transform = tsf;
|
ele.style.transform = tsf;
|
||||||
ele.style.position = "absolute";
|
ele.style.position = "absolute";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user