Permalink
Browse files

Added jQuery UI Datepicker

  • Loading branch information...
1 parent e88f074 commit 85f46690f8ab984c09883dc68a58121e631e218d @chadsmith committed May 18, 2011
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -5,5 +5,6 @@ $(function() {
$form.slideToggle();
return false;
});
- $('.time').timePicker({ step: 05, show24Hours: false });
+ $('.date').datepicker();
+ $('.time').timepicker({ showPeriod: true });
})
View
@@ -40,7 +40,9 @@
}
}
$flows = OpenVBX::getFlows(array('tenant_id' => $tenant_id));
+ OpenVBX::addJS('jquery-ui-1.7.3.custom.min.js');
OpenVBX::addJS('schedule.js');
+ OpenVBX::addCSS('jquery-ui-1.7.3.custom.css');
?>
<style>
.vbx-schedule form {
@@ -79,7 +81,7 @@
</p>
<p>
<label class="field-label">Date<br/>
- <input type="text" name="date" class="medium" value="<?php echo date('j-M-Y'); ?>" />
+ <input type="text" name="date" class="date medium" value="<?php echo date('m/d/Y'); ?>" />
</label>
</p>
<p>
@@ -119,7 +121,7 @@
</p>
<p>
<label class="field-label">Date<br/>
- <input type="text" name="date" class="medium" value="<?php echo date('j-M-Y'); ?>" />
+ <input type="text" name="date" class="date medium" value="<?php echo date('m/d/Y'); ?>" />
</label>
</p>
<p>

0 comments on commit 85f4669

Please sign in to comment.