Sha256: b6bb84a70662dadd8f3ddc9edf49e013a2326f86bd9f36d9352127a5e2b2accc
Contents?: true
Size: 504 Bytes
Versions: 3
Compression:
Stored size: 504 Bytes
Contents
/* jshint laxcomma: true */ jQuery(function ($) { $('.sortable').sortable({ axis: 'y' , cursor: 'move' , handle: 'span.glyphicon-resize-vertical' , update: function (event) { var $target = $(event.target); $.ajax({ type: 'POST' , url: location.href.split('?')[0].split('#')[0] + '/sort' , data: $target.sortable('serialize') }).done(function () { $target.effect('highlight'); }); } }); $('.editable').editable({type: 'text'}); });
Version data entries
3 entries across 3 versions & 1 rubygems