aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/unit/progressbar/progressbar_common.js2
-rw-r--r--ui/jquery.ui.progressbar.js5
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/unit/progressbar/progressbar_common.js b/tests/unit/progressbar/progressbar_common.js
index 2f97a78bb..ceee3fbec 100644
--- a/tests/unit/progressbar/progressbar_common.js
+++ b/tests/unit/progressbar/progressbar_common.js
@@ -5,6 +5,8 @@ TestHelpers.commonWidgetTests( "progressbar", {
max: 100,
//callbacks
+ change: null,
+ complete: null,
create: null
}
});
diff --git a/ui/jquery.ui.progressbar.js b/ui/jquery.ui.progressbar.js
index 0f97bc3fe..53c9508ed 100644
--- a/ui/jquery.ui.progressbar.js
+++ b/ui/jquery.ui.progressbar.js
@@ -17,8 +17,11 @@
$.widget( "ui.progressbar", {
version: "@VERSION",
options: {
+ max: 100,
value: 0,
- max: 100
+
+ change: null,
+ complete: null
},
min: 0,