fixing gui so playlists can again be scheduled, removed.

This commit is contained in:
naomiaro 2010-10-19 04:58:48 -04:00
parent c8df3578ca
commit 5750f38343
9 changed files with 19 additions and 22 deletions

View file

@ -88,9 +88,9 @@ function SCHEDULE_snap2Next()
var duration = SCHEDULE_timeToMilliseconds(SCHEDULE_selectedDuration());
// Get the date of the "next item" (time is set to midnight).
var beginDate = new Date({$SCHEDULER->scheduleNext.year},
{$SCHEDULER->scheduleNext.month},
{$SCHEDULER->scheduleNext.day});
var beginDate = new Date("{$SCHEDULER->scheduleNext.year}",
"{$SCHEDULER->scheduleNext.month}",
"{$SCHEDULER->scheduleNext.day}");
//debugBeginDate = ""+beginDate;
// Calculate the final time by starting with the "next item" date at midnight,

View file

@ -1,7 +1,7 @@
{include file="popup/header.tpl"}
<center>
{tra str='Are you sure to remove playlist "$1"?' 1=$playlistName}
{tra str='Are you sure you want to remove "$1"?' 1=$playlistName}
<br><br>
<input type="button" class="button" onClick="window.close()" value="Cancel">
<input type="button" class="button" onClick="location.href='{$UI_HANDLER}?act=SCHEDULER.removeItem&scheduleId={$_REQUEST.scheduleId}'" value="OK">