Added support for html5time
This commit is contained in:
		@@ -8,6 +8,7 @@ Following types are supported:
 | 
				
			|||||||
* tel
 | 
					* tel
 | 
				
			||||||
* number
 | 
					* number
 | 
				
			||||||
* range
 | 
					* range
 | 
				
			||||||
 | 
					* time
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Learn more about html5 inputs:  
 | 
					Learn more about html5 inputs:  
 | 
				
			||||||
http://www.w3.org/wiki/HTML5_form_additions  
 | 
					http://www.w3.org/wiki/HTML5_form_additions  
 | 
				
			||||||
@@ -193,3 +194,19 @@ Range (inherit from number)
 | 
				
			|||||||
    });
 | 
					    });
 | 
				
			||||||
    $.fn.editabletypes.range = Range;
 | 
					    $.fn.editabletypes.range = Range;
 | 
				
			||||||
}(window.jQuery));
 | 
					}(window.jQuery));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/*
 | 
				
			||||||
 | 
					Time
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					(function ($) {
 | 
				
			||||||
 | 
					    "use strict";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    var Time = function (options) {
 | 
				
			||||||
 | 
					        this.init('time', options, Time.defaults);
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					    $.fn.editableutils.inherit(Time, $.fn.editabletypes.text);
 | 
				
			||||||
 | 
					    Time.defaults = $.extend({}, $.fn.editabletypes.text.defaults, {
 | 
				
			||||||
 | 
					        tpl: '<input type="time">'
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					    $.fn.editabletypes.time = Time;
 | 
				
			||||||
 | 
					}(window.jQuery));
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user