Sha256: a6771b19d6ea5af0c7fe2dda1af0b8d63a190dbeb5ee1b89b5904b014c08ecae

Contents?: true

Size: 279 Bytes

Versions: 1

Compression:

Stored size: 279 Bytes

Contents

$(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);
    });
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jinda_bsb-0.0.1 lib/generators/jinda_bsb/templates/app/assets/jinda_assets/js/pages/ui/sortable-nestable.js