Skip to content

Commit 9c0bcd7

Browse files
authored
Merge pull request #509 from radiolips/bugfix/422
Bugfix/422
2 parents 723cb23 + 042ba6a commit 9c0bcd7

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Join gridstack.js on Slack: https://gridstackjs.troolee.com
4545
- [Using AniJS](#using-anijs)
4646
- [The Team](#the-team)
4747
- [Changes](#changes)
48+
- [v0.2.7-dev (Development version)](#v027-dev-development-version)
4849
- [v0.2.6 (2016-08-17)](#v026-2016-08-17)
4950
- [v0.2.5 (2016-03-02)](#v025-2016-03-02)
5051
- [v0.2.4 (2016-02-15)](#v024-2016-02-15)
@@ -474,6 +475,10 @@ for help.
474475
Changes
475476
=======
476477

478+
#### v0.2.7-dev (Development version)
479+
480+
- update `destroy([detachGrid])` call ([#422](https://github.com/troolee/gridstack.js/issues/422)).
481+
477482
#### v0.2.6 (2016-08-17)
478483

479484
- update requirements to the latest versions of jQuery (v3.1.0+) and jquery-ui (v1.12.0+).

dist/gridstack.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* gridstack.js 0.2.6
2+
* gridstack.js 0.2.7-dev
33
* http://troolee.github.io/gridstack.js/
44
* (c) 2014-2016 Pavel Reznikov
55
* gridstack.js may be freely distributed under the MIT license.
@@ -1244,6 +1244,7 @@
12441244
this.disable();
12451245
if (typeof detachGrid != 'undefined' && !detachGrid) {
12461246
this.removeAll(false);
1247+
this.container.removeData('gridstack');
12471248
} else {
12481249
this.container.remove();
12491250
}

dist/gridstack.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/gridstack.min.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/gridstack.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* gridstack.js 0.2.6
2+
* gridstack.js 0.2.7-dev
33
* http://troolee.github.io/gridstack.js/
44
* (c) 2014-2016 Pavel Reznikov
55
* gridstack.js may be freely distributed under the MIT license.
@@ -1244,6 +1244,7 @@
12441244
this.disable();
12451245
if (typeof detachGrid != 'undefined' && !detachGrid) {
12461246
this.removeAll(false);
1247+
this.container.removeData('gridstack');
12471248
} else {
12481249
this.container.remove();
12491250
}

0 commit comments

Comments
 (0)