mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
(cherry picked from commit 46909d707b31c354053c428c54ceba6ade0cdbdd)
This commit is contained in:
parent
8eb6271b82
commit
ce18bc8d1a
@ -26,7 +26,13 @@ define(function (require) {
|
||||
var TemplateTableHTML = require("hbs!./schedule_action/table");
|
||||
|
||||
var selector = '';
|
||||
var defaultHour = "12:30";
|
||||
var currentDate = new Date();
|
||||
var newDate = new Date();
|
||||
// if you want to add more time to the schedule action modify this
|
||||
// variable
|
||||
var hours = 1;
|
||||
newDate.setTime(currentDate.getTime() + (hours*60*60*1000));
|
||||
var defaultHour = newDate.getHours() + ":" + newDate.getMinutes();
|
||||
var actionsWithARGS = [
|
||||
'snapshot-create',
|
||||
'snapshot-revert',
|
||||
@ -81,7 +87,7 @@ define(function (require) {
|
||||
|
||||
var options_date_picker={
|
||||
dateFormat: "yy-mm-dd",
|
||||
minDate: new Date(),
|
||||
minDate: currentDate,
|
||||
showOptions: { direction: "down" }
|
||||
};
|
||||
var options_hour_picker = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user