Skip to content
Snippets Groups Projects
Commit d31b0b4f authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #1420022 by nod_: remove dead code: progress.upload_callback(), progress.error_callback().

parent 1457cd87
No related branches found
No related tags found
No related merge requests found
...@@ -360,7 +360,7 @@ Drupal.ajax.prototype.beforeSend = function (xmlhttprequest, options) { ...@@ -360,7 +360,7 @@ Drupal.ajax.prototype.beforeSend = function (xmlhttprequest, options) {
// Insert progressbar or throbber. // Insert progressbar or throbber.
if (this.progress.type == 'bar') { if (this.progress.type == 'bar') {
var progressBar = new Drupal.progressBar('ajax-progress-' + this.element.id, eval(this.progress.update_callback), this.progress.method, eval(this.progress.error_callback)); var progressBar = new Drupal.progressBar('ajax-progress-' + this.element.id, $.noop, this.progress.method, $.noop);
if (this.progress.message) { if (this.progress.message) {
progressBar.setProgress(-1, this.progress.message); progressBar.setProgress(-1, this.progress.message);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment