[chronojump-server] Fixed error when macro task form is shown
- From: Marcos Venteo Garcia <mventeo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump-server] Fixed error when macro task form is shown
- Date: Tue, 13 Feb 2018 22:27:40 +0000 (UTC)
commit ba5bd2c1192ef12c161966fbeb4193350ad18799
Author: Marcos Venteo <mventeo gmail com>
Date: Tue Feb 13 23:27:07 2018 +0100
Fixed error when macro task form is shown
chronojumpserver/templates/player_list.html | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/chronojumpserver/templates/player_list.html b/chronojumpserver/templates/player_list.html
index ae51d12..b9148b1 100755
--- a/chronojumpserver/templates/player_list.html
+++ b/chronojumpserver/templates/player_list.html
@@ -643,6 +643,10 @@ $('#players').on('click', 'button', function() {
$('#btnCreateTasks').addClass('hidden');
$('#btnAddMacroTask').addClass('hidden');
$('#btnResetMacroTask').addClass('hidden');
+
+ $('#singleTask').addClass('in').addClass('active');
+ $('#macroTask').removeClass('in').removeClass('active');
+
removeMacroTasksTable();
get_maximum_mean_velocity();
});
@@ -714,12 +718,16 @@ $('#players').on('click', 'a.task-link', function() {
/* Hide the Macro Tasks */
$('#btnCreateTasks').addClass('hidden');
$('#btnAddMacroTasks').addClass('hidden');
+ $('#btnResetMacroTask').addClass('hidden');
/* Hide the option to select individual and macro task */
$('#taskParamSelector').addClass('hide');
$('#taskFreeSelector').addClass('hide');
- removeMacroTasksTable();
+ $('#singleTask').addClass('in').addClass('active');
+ $('#macroTask').removeClass('in').removeClass('active');
+
+ //removeMacroTasksTable();
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]