PHP Classes

File: web/bundles/bootstrap/vu/js/vuDatepicker.js

Recommend this page to a friend!
  Classes of william amed   Raptor 2   web/bundles/bootstrap/vu/js/vuDatepicker.js   Download  
File: web/bundles/bootstrap/vu/js/vuDatepicker.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 2,068 bytes
 

Contents

Class file image Download
(function($){ if($.fn.datepicker == undefined) return; VU.namespace('VU.Components'); VU.Components.Datepicker = window.Datepicker.getFromAmbit('Datepicker'); VU.Components.Datepicker.prototype.setValue2=VU.Components.Datepicker.prototype.setValue VU.Components.Datepicker.prototype.setValue=function(){ this.setValue2(); if (!this.isInput) { if (this.component){ this.element.find('input').keyup(); } } else { this.element.keyup(); } } VU.Components.Datepicker.prototype.setRawValue=function(){ if (!this.isInput) { if (this.component){ this.element.find('input').val(arguments[0]); this.element.find('input').keyup(); } } else { this.element.val(arguments[0]); this.element.keyup(); } } $.fn.datepicker.dates['es'] = { days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"], daysShort: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb", "Dom"], daysMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Do"], months: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"], monthsShort: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"], today: "Hoy" }; $.fn.datepicker.defaults = $.extend($.fn.datepicker.defaults, { autoclose: false, beforeShowDay: $.noop, calendarWeeks: false, clearBtn: false, daysOfWeekDisabled: [], endDate: Infinity, forceParse: true, format: 'dd/mm/yyyy', keyboardNavigation: true, language: 'es', minViewMode: 0, orientation: "auto", rtl: false, startDate: -Infinity, startView: 0, todayBtn: false, todayHighlight: false, weekStart: 0 }); $.fn.datepicker.locale_opts = [ 'format', 'rtl', 'weekStart' ]; $.fn.vuDatepicker = $.fn.datepicker; })(jQuery);