summaryrefslogtreecommitdiffstatshomepage
path: root/misc/progress.js
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-09-12 18:29:32 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-09-12 18:29:32 +0000
commit21ac9f1917595492fa9997e565bf11ec8d8cd14f (patch)
treec90c3c454de850d5a315f5a4cae2404e87a56b94 /misc/progress.js
parentb3fe5b9cbff70dd29a574e6770f32bcb48c6a78c (diff)
downloaddrupal-21ac9f1917595492fa9997e565bf11ec8d8cd14f.tar.gz
drupal-21ac9f1917595492fa9997e565bf11ec8d8cd14f.zip
#174708 by multiple contributors: update jQuery to 1.2
Diffstat (limited to 'misc/progress.js')
-rw-r--r--misc/progress.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/progress.js b/misc/progress.js
index c693fafaddd..9f34d251fcd 100644
--- a/misc/progress.js
+++ b/misc/progress.js
@@ -72,9 +72,8 @@ Drupal.progressBar.prototype.sendPing = function () {
type: this.method,
url: this.uri,
data: '',
- success: function (data) {
- // Parse response
- var progress = Drupal.parseJson(data);
+ dataType: 'json',
+ success: function (progress) {
// Display errors
if (progress.status == 0) {
pb.displayError(progress.data);