changeset 2503:42abe6eddfb5

Fixed AB playOne attribute locking up interface on playback.
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Wed, 21 Sep 2016 12:19:40 +0100
parents 5ddfab2c92e4
children 642dc3224962 6b3d98260a88
files interfaces/AB.js interfaces/ABX.js
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/interfaces/AB.js	Wed Sep 21 12:16:41 2016 +0100
+++ b/interfaces/AB.js	Wed Sep 21 12:19:40 2016 +0100
@@ -329,7 +329,7 @@
             if (this.parent.specification.parent.playOne || specification.playOne) {
                 $('.comparator-button').text('Wait');
                 $('.comparator-button').attr("disabled","true");
-                $(this.playback).css("disabled","false");
+                $(this.playback).removeAttr("disabled");
             } else {
                 $('.comparator-button').text('Listen');
             }
--- a/interfaces/ABX.js	Wed Sep 21 12:16:41 2016 +0100
+++ b/interfaces/ABX.js	Wed Sep 21 12:19:40 2016 +0100
@@ -323,7 +323,7 @@
             if (this.parent.specification.parent.playOne || specification.playOne) {
                 $('.comparator-button').text('Wait');
                 $('.comparator-button').attr("disabled","true");
-                $(this.playback).css("disabled","false");
+                $(this.playback).removeAttr("disabled");
             } else {
                 $('.comparator-button').text('Listen');
             }