app/jquery/jquery-progressbar.js
author Mario Ferraro <fadinlight@gmail.com>
Sun, 15 Nov 2009 22:12:20 +0100
changeset 3093 d1be59b6b627
parent 1328 cd175dddc15c
permissions -rw-r--r--
GMaps related JS changed to use new google namespace. Google is going to change permanently in the future the way to load its services, so better stay safe. Also this commit shows uses of the new melange.js module. Fixes Issue 634.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1328
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     1
/*
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     2
 * jQuery Progress Bar plugin
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     3
 * Version 1.1.0 (06/20/2008)
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     4
 * @requires jQuery v1.2.1 or later
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     5
 *
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     6
 * Copyright (c) 2008 Gary Teo
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     7
 * http://t.wits.sg
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     8
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     9
USAGE:
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    10
	$(".someclass").progressBar();
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    11
	$("#progressbar").progressBar();
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    12
	$("#progressbar").progressBar(45);							// percentage
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    13
	$("#progressbar").progressBar({showText: false });			// percentage with config
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    14
	$("#progressbar").progressBar(45, {showText: false });		// percentage with config
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    15
*/
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    16
(function($) {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    17
	$.extend({
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    18
		progressBar: new function() {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    19
			this.defaults = {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    20
				increment	: 2,
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    21
				speed		: 15,
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    22
				showText	: true,											// show text with percentage in next to the progressbar? - default : true
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    23
				width		: 120,											// Width of the progressbar - don't forget to adjust your image too!!!
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    24
				boxImage	: '/soc/content/images/progressbar.gif',		// boxImage : image around the progress bar
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    25
				barImage	: '/soc/content/images/progressbg_green.gif',	// Image to use in the progressbar. Can be an array of images too.
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    26
				height		: 12											// Height of the progressbar - don't forget to adjust your image too!!!
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    27
			};
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    28
			
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    29
			/* public methods */
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    30
			this.construct = function(arg1, arg2) {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    31
				var argpercentage	= null;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    32
				var argconfig		= null;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    33
				
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    34
				if (arg1 != null) {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    35
					if (!isNaN(arg1)) {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    36
						argpercentage 	= arg1;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    37
						if (arg2 != null) {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    38
							argconfig	= arg2; }
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    39
					} else {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    40
						argconfig		= arg1; 
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    41
					}
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    42
				}
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    43
				
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    44
				return this.each(function(child) {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    45
					var pb		= this;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    46
					if (argpercentage != null && this.bar != null && this.config != null) {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    47
						this.config.tpercentage	= argpercentage;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    48
						if (argconfig != null)
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    49
							pb.config			= $.extend(this.config, argconfig);
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    50
					} else {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    51
						var $this				= $(this);
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    52
						var config				= $.extend({}, $.progressBar.defaults, argconfig);
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    53
						var percentage			= argpercentage;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    54
						if (argpercentage == null)
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    55
							var percentage		= $this.html().replace("%","");	// parsed percentage
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    56
						
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    57
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    58
						$this.html("");
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    59
						var bar					= document.createElement('img');
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    60
						var text				= document.createElement('span');
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    61
						bar.id 					= this.id + "_percentImage";
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    62
						text.id 				= this.id + "_percentText";
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    63
						bar.src					= config.boxImage;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    64
						bar.width				= config.width;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    65
						var $bar				= $(bar);
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    66
						var $text				= $(text);
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    67
						
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    68
						this.bar				= $bar;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    69
						this.ntext				= $text;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    70
						this.config				= config;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    71
						this.config.cpercentage	= 0;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    72
						this.config.tpercentage	= percentage;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    73
						
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    74
						$bar.css("width", config.width + "px");
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    75
						$bar.css("height", config.height + "px");
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    76
						$bar.css("background-image", "url(" + config.barImage + ")");
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    77
						$bar.css("padding", "0");
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    78
						$bar.css("margin", "0");
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    79
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    80
						$this.append($bar);
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    81
						$this.append($text);
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    82
						
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    83
						bar.alt				= this.tpercentage;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    84
						bar.title			= this.tpercentage;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    85
					}
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    86
					
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    87
					
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    88
					
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    89
					var t = setInterval(function() {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    90
						var config		= pb.config;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    91
						var cpercentage = parseInt(config.cpercentage);
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    92
						var tpercentage = parseInt(config.tpercentage);
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    93
						var increment	= parseInt(config.increment);
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    94
						var bar			= pb.bar;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    95
						var text		= pb.ntext;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    96
						var pixels		= config.width / 100;			// Define how many pixels go into 1%
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    97
						
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    98
						bar.css("background-position", (((config.width * -1)) + (cpercentage * pixels)) + 'px 50%');
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    99
						
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   100
						if (config.showText)
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   101
							text.html(" " + Math.round(cpercentage) + "%");
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   102
						
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   103
						if (cpercentage > tpercentage) {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   104
							if (cpercentage - increment  < tpercentage) {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   105
								pb.config.cpercentage = 0 + tpercentage
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   106
							} else {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   107
								pb.config.cpercentage -= increment;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   108
							}
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   109
						}
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   110
						else if (pb.config.cpercentage < pb.config.tpercentage) {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   111
							if (cpercentage + increment  > tpercentage) {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   112
								pb.config.cpercentage = tpercentage
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   113
							} else {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   114
								pb.config.cpercentage += increment;
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   115
							}
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   116
						} 
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   117
						else {
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   118
							clearInterval(t);
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   119
						}
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   120
					}, pb.config.speed); 
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   121
				});
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   122
			};
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   123
		}
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   124
	});
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   125
		
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   126
	$.fn.extend({
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   127
        progressBar: $.progressBar.construct
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   128
	});
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   129
	
cd175dddc15c Added bulk acceptance and progress bar in review org applications view.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
   130
})(jQuery);