From 22e4a44fdbff3cadbfbc14e4ad9cf2b308c67099 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 29 Jan 2018 17:09:53 +0100 Subject: [PATCH] Fixed js glitch --- platypush/backend/http/static/js/music.mpd.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platypush/backend/http/static/js/music.mpd.js b/platypush/backend/http/static/js/music.mpd.js index adec3d4a..62e912e4 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'); - }, + } ); }); };