Need to use different id for the drop down.
{
//echo '<pre>$_REQUEST: ' . print_r( $_REQUEST, true ) . '</pre>';
//echo '<pre>$actionData: ' . print_r( $actionData, true ) . '</pre>';
- $view = 'schedule';
- $settings = array();
- $content = '';
+ $view = 'schedule';
+ $settings = array();
+ $content = '';
+ $mainSchedId = false;
// Get the options for starline
$starlineOptions = unserialize( get_option( GLM_MEMBERS_APIS_STARLINE_OPTION_NAME ) );
curl_close( $curl );
$templateData = array(
+ 'mainSchedId' => $mainSchedId,
'content' => $content,
'inDropDown' => $inDropDown,
'schedulePage' => get_home_url(null, '/' ) . $starlinePageSlug . '/',
});
</script>
-<div id="inside_schedule_wrapper">
- {if $inDropDown}
+{if $inDropDown}
+ <div id="schedule_wrapper" class="common_schedule_wrapper">
<form
id="dockForm"
name="dockForm"
method="get">
<input type="hidden" id="formDockId" name="dockId">
<input type="hidden" id="formSchedId" name="scheduleId">
- {/if}
+{else}
+ <div id="inside_schedule_wrapper" class="common_schedule_wrapper">
+{/if}
{$content}
{if $inDropDown}
</form>