Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // in the attach function
- Drupal.ajax.instances.forEach(function (instance) {
- if (instance.element && instance.element.hasClass('upload-button') && instance.element.once('magic').length) {
- instance.setProgressIndicatorThrobber = function () {/* new stuff */};
- instance.success = function () {/* new stuff */};
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement