this is a jsportal 2.0 script written by Michel Hiemstra (http://michelhiemstra.nl); this script fires a few php/mysql UPDATE queries whenever a block is dragged/dropped from column to column, but fails to fire the queries if a block is dragged to a dif. position in the same column - i'm failry noob with jquery/javascript and after a lot of hunting and pecking i'm unable to find why.

here's a bit of the code which i think is pertinent, though not sure. i would be very grateful if someone could offer a little help?

Portal.prototype = {

initialize : function (settings, options, data) {

// set options
this.setOptions(options);

// set blocks to their positions
this.apply_settings(settings);

// load data to blocks
//this.loadData(data);

// if editor is enabled we proceed
if (!this.options.editorEnabled) return;

// get all available columns
var columns = $(this.options.portal).getElementsByClassName(this.options.column);