Merge pull request #9406 from MrPetovan/bug/9385-frio-edit-detach
[frio] Keep jQuery data attached to elements stored in jotcache
This commit is contained in:
commit
e757711c38
2 changed files with 20 additions and 20 deletions
|
@ -285,7 +285,7 @@ function editpost(url) {
|
||||||
jotcache = $("#jot-content > #jot-sections");
|
jotcache = $("#jot-content > #jot-sections");
|
||||||
|
|
||||||
// Remove the original Jot as long as the edit Jot is open.
|
// Remove the original Jot as long as the edit Jot is open.
|
||||||
jotcache.remove();
|
jotcache.detach();
|
||||||
|
|
||||||
// Add the class "edit" to the modal to have some kind of identifier to
|
// Add the class "edit" to the modal to have some kind of identifier to
|
||||||
// have the possibility to e.g. put special event-listener.
|
// have the possibility to e.g. put special event-listener.
|
||||||
|
|
Loading…
Add table
Reference in a new issue