Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
Merge pull request #250 from parente/fix-save-grid
Browse files Browse the repository at this point in the history
Save grid metadata on hide
  • Loading branch information
dalogsdon committed May 18, 2016
2 parents 6c69229 + 488ff0c commit 248b37e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,9 @@ define([
});
});
this.gridstack.remove_widget($cell, false /* don't detach node */);

// update all cell metadata as remove may have displaced some cells
Metadata.save();
};

// computes metadata for a cell that doesn't have grid layout metadata
Expand Down

0 comments on commit 248b37e

Please sign in to comment.