forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd_cron.js
More file actions
16 lines (13 loc) · 905 Bytes
/
add_cron.js
File metadata and controls
16 lines (13 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$(document).ready(function(){
$( "#tabs" ).tabs();
$('.context-helper').click(function(){ $('#tabs').toggle(); $('.context-helper').toggle(); });
$('.context-helper-close').click(function(){ $('#tabs').toggle(); $('.context-helper').toggle(); });
$('.helper-container form').submit(function(){
$('#vstobjects input[name=v_min]').val($(this).find(':input[name=h_min]').val()).effect('highlight');
$('#vstobjects input[name=v_hour]').val($(this).find(':input[name=h_hour]').val()).effect('highlight');
$('#vstobjects input[name=v_day]').val($(this).find(':input[name=h_day]').val()).effect('highlight');
$('#vstobjects input[name=v_month]').val($(this).find(':input[name=h_month]').val()).effect('highlight');
$('#vstobjects input[name=v_wday]').val($(this).find(':input[name=h_wday]').val()).effect('highlight');
return false;
});
})