diff --git a/platypush/backend/http/static/js/music.mpd.js b/platypush/backend/http/static/js/music.mpd.js index adec3d4a24..62e912e423 100644 --- a/platypush/backend/http/static/js/music.mpd.js +++ b/platypush/backend/http/static/js/music.mpd.js @@ -112,9 +112,10 @@ $(document).ready(function() { action: 'music.mpd.' + action, }, + onSuccess=undefined, onComplete = function() { $btn.removeAttr('disabled'); - }, + } ); }); };