diff --git a/scripts/survey_runtime.js b/scripts/survey_runtime.js index 67df3122a05..18ded15e956 100644 --- a/scripts/survey_runtime.js +++ b/scripts/survey_runtime.js @@ -501,7 +501,8 @@ function navigator_countdown_end() navigator_countdown_btn().each(function(i, e) { e.value = $(e).data('text'); - $(e).attr('disabled', ''); + $(e).button("option", "disabled", false); + $(e).attr('aria-disabled','false'); }); $(window).data('countdown', null); } @@ -514,9 +515,9 @@ function navigator_countdown_int() navigator_countdown_btn().each(function(i, e) { e.value = $(e).data('text'); - - // just count-down for delays longer than 1 second - if(n > 1) e.value += " (" + n + ")"; + $(e).find('.ui-button-text').html( $(e).data('text')); + // just count-down for delays longer than 1 second + if(n > 1) $(e).find('.ui-button-text').html( $(e).data('text')+ " (" + n + ")"); }); $(window).data('countdown', --n);