Commit 4b1a4e9a authored by EL HASSANE GARGEM's avatar EL HASSANE GARGEM
Browse files

save after delete button

parent edbea8f0
......@@ -28,6 +28,7 @@ var DiploPanel = BasePanel.extend({
},
methods:{
toggleSave(){
clearTimeout(timer);
timer = setTimeout(function (){
this.save();
......@@ -139,8 +140,10 @@ var DiploPanel = BasePanel.extend({
this.updateEditLine(idx +1);
}
}
if(ev.keyCode == 8){
this.toggleSave();
}
},
setEditLine(l) {
this.editLine = l;
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment