Changeset 24900


Ignore:
Timestamp:
12/14/11 16:53:52 (9 years ago)
Author:
sjb48
Message:

Format edit tidying - replacing gui_div.js with format 'modules'

Location:
main/trunk/greenstone3/web/interfaces/oran/js
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/js/gui_div.js

    r24869 r24900  
    427427        }
    428428    });
     429
     430$.ui.plugin.add("draggable", "cursor", {
     431    start: function(event, ui) {
     432        var t = $('body'), o = $(this).data('draggable').options;
     433        if (t.css("cursor")) o._cursor = t.css("cursor");
     434        t.css("cursor", o.cursor);
     435    },
     436    stop: function(event, ui) {
     437        var o = $(this).data('draggable').options;
     438        if (o._cursor) $('body').css("cursor", o._cursor);
     439    }
     440});
    429441
    430442    $.ui.draggable.prototype._createHelper = function(event) {
Note: See TracChangeset for help on using the changeset viewer.