Skip to content

Instantly share code, notes, and snippets.

View peterh-capella's full-sized avatar

Peter Hentges peterh-capella

  • Capella University
  • Minneapolis, MN
View GitHub Profile
@peterh-capella
peterh-capella / fixedsortable.js
Created December 7, 2012 17:09
JQuery sortable lists and fixed/locked items
//this code is created to fix this problem: http://stackoverflow.com/questions/4299241/
(function( $, undefined ) {
$.widget("ui.fixedsortable", $.ui.sortable, {
options: $.extend({},$.ui.sortable.prototype.options,{fixed:[]}),
_create: function() {
var o = this.options;