From 4b9e50b64b4304fcd5af01b514201a5d922f6a25 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 19 Nov 2018 11:39:54 -0600 Subject: [PATCH] collapse advanced configuration sections in Schedule Dialog --- .../views/scripts/schedule/add-show-form.phtml | 8 ++++---- airtime_mvc/public/js/airtime/schedule/add-show.js | 8 ++++++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/airtime_mvc/application/views/scripts/schedule/add-show-form.phtml b/airtime_mvc/application/views/scripts/schedule/add-show-form.phtml index 73a6591fc..918c3d2bc 100644 --- a/airtime_mvc/application/views/scripts/schedule/add-show-form.phtml +++ b/airtime_mvc/application/views/scripts/schedule/add-show-form.phtml @@ -11,10 +11,6 @@
what; ?>
-

-
- autoplaylist; ?> -

repeats; ?>
+

+
+ autoplaylist; ?> +

live; ?> diff --git a/airtime_mvc/public/js/airtime/schedule/add-show.js b/airtime_mvc/public/js/airtime/schedule/add-show.js index 921afa218..130c684a8 100644 --- a/airtime_mvc/public/js/airtime/schedule/add-show.js +++ b/airtime_mvc/public/js/airtime/schedule/add-show.js @@ -16,6 +16,14 @@ function openAddShowForm(nowOrFuture) { $("#add-show-form").show(); windowResize(); + + // collapse advanced configuration sections + $('#schedule-show-auto').hide(); + $('#live-stream-override').hide(); + $('#schedule-record-rebroadcast').hide(); + $('#schedule-show-who').hide(); + $('#schedule-show-style').hide(); + } $("#schedule-show-what").show(0, function(){ $add_show_name = $("#add_show_name");