Skip to content
Snippets Groups Projects
Verified Commit facb6362 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: add callback to save/cancel buttons

parent f14a6ea3
No related branches found
No related tags found
No related merge requests found
......@@ -440,7 +440,7 @@ var edit_mode = new function() {
*/
this.init_actions_panels = function(entity) {
this.reset_actions_panels([entity]);
$(".caosdb-entity-actions-panel").each(function(index) {
$(entity).find(".caosdb-entity-actions-panel").each(function(index) {
var clone = $(this).clone(true)[0];
$(clone).removeClass("caosdb-entity-actions-panel").addClass("caosdb-f-edit-mode-entity-actions-panel").insertBefore(this);
$(clone).children().remove();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment