Sha256: bcbfb6a8f290703aecf064ce1791c69291181895d7f2c3f65b273f899e06c800

Contents?: true

Size: 211 Bytes

Versions: 15

Compression:

Stored size: 211 Bytes

Contents

var sortable = {
  init: function() {
    $( ".sortable" ).sortable({
        update: function(event, ui){
          $.post($(this).data("url"), { orders: $(this).sortable('serialize')});
        }
    });
  }
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
weeler-2.1.0 app/assets/javascripts/weeler/lib/sortable.js
weeler-2.0.1 app/assets/javascripts/weeler/lib/sortable.js
weeler-2.0.0 app/assets/javascripts/weeler/lib/sortable.js
weeler-1.6.0 app/assets/javascripts/weeler/lib/sortable.js
weeler-1.5.4 app/assets/javascripts/weeler/lib/sortable.js
weeler-1.5.2 app/assets/javascripts/weeler/lib/sortable.js
weeler-1.5.1 app/assets/javascripts/weeler/lib/sortable.js
weeler-1.4.0 app/assets/javascripts/weeler/lib/sortable.js
weeler-1.2.0 app/assets/javascripts/weeler/lib/sortable.js
weeler-1.1.0 app/assets/javascripts/weeler/lib/sortable.js
weeler-1.0.4 app/assets/javascripts/weeler/lib/sortable.js
weeler-1.0.3 app/assets/javascripts/weeler/lib/sortable.js
weeler-1.0.2 app/assets/javascripts/weeler/lib/sortable.js
weeler-1.0.1 app/assets/javascripts/weeler/lib/sortable.js
weeler-1.0.0 app/assets/javascripts/weeler/lib/sortable.js