The administration panel and web client for ParEdu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
279 B

4 years ago
$(function () {
$('.dd').nestable();
$('.dd').on('change', function () {
var $this = $(this);
var serializedData = window.JSON.stringify($($this).nestable('serialize'));
$this.parents('div.body').find('textarea').val(serializedData);
});
});