html/scripts/jquery.blockUI.js
function reset(els,data,opts,el) {
			var $el = $(el);
			if ( $el.data('blockUI.isBlocked') )
				return;

			els.each(function(i,o) {
				// remove via DOM calls so we don't lose event handlers
				if (this.parentNode)
					this.parentNode.removeChild(this);
			});

			if (data && data.el) {
				data.el.style.display = data.display;
				data.el.style.position = data.position;
				data.el.style.cursor = 'default'; // #59
				if (data.parent)
					data.parent.appendChild(data.el);
				$el.removeData('blockUI.history');
			}

			if ($el.data('blockUI.static')) {
				$el.css('position', 'static'); // #22
			}

			if (typeof opts.onUnblock == 'function')
				opts.onUnblock(el,opts);

			// fix issue in Safari 6 where block artifacts remain until reflow
			var body = $(document.body), w = body.width(), cssW = body[0].style.width;
			body.width(w-1).width(w);
			body[0].style.width = cssW;
		}
function reset(els,data,opts,el) {
			var $el = $(el);
			if ( $el.data('blockUI.isBlocked') )
				return;

			els.each(function(i,o) {
				// remove via DOM calls so we don't lose event handlers
				if (this.parentNode)
					this.parentNode.removeChild(this);
			});

			if (data && data.el) {
				data.el.style.display = data.display;
				data.el.style.position = data.position;
				data.el.style.cursor = 'default'; // #59
				if (data.parent)
					data.parent.appendChild(data.el);
				$el.removeData('blockUI.history');
			}

			if ($el.data('blockUI.static')) {
				$el.css('position', 'static'); // #22
			}

			if (typeof opts.onUnblock == 'function')
				opts.onUnblock(el,opts);

			// fix issue in Safari 6 where block artifacts remain until reflow
			var body = $(document.body), w = body.width(), cssW = body[0].style.width;
			body.width(w-1).width(w);
			body[0].style.width = cssW;
		}
function reset ( els , data , opts , el ) { var $el = $ ( el ) ; if ( $el . data ( 'blockUI.isBlocked' ) ) return ; els . each ( function ( i , o ) { // remove via DOM calls so we don't lose event handlers if ( this . parentNode ) this . parentNode . removeChild ( this ) ; } ) ; if ( data && data . el ) { data . el . style . display = data . display ; data . el . style . position = data . position ; data . el . style . cursor = 'default' ; // #59 if ( data . parent ) data . parent . appendChild ( data . el ) ; $el . removeData ( 'blockUI.history' ) ; } if ( $el . data ( 'blockUI.static' ) ) { $el . css ( 'position' , 'static' ) ; // #22 } if ( typeof opts . onUnblock == 'function' ) opts . onUnblock ( el , opts ) ; // fix issue in Safari 6 where block artifacts remain until reflow var body = $ ( document . body ) , w = body . width ( ) , cssW = body [ 0 ] . style . width ; body . width ( w - 1 ) . width ( w ) ; body [ 0 ] . style . width = cssW ; }
move blocking element back into the DOM where it started
move blocking element back into the DOM where it started