Added support for html5time
This commit is contained in:
		@@ -8,6 +8,7 @@ Following types are supported:
 | 
			
		||||
* tel
 | 
			
		||||
* number
 | 
			
		||||
* range
 | 
			
		||||
* time
 | 
			
		||||
 | 
			
		||||
Learn more about html5 inputs:  
 | 
			
		||||
http://www.w3.org/wiki/HTML5_form_additions  
 | 
			
		||||
@@ -192,4 +193,20 @@ Range (inherit from number)
 | 
			
		||||
        inputclass: 'input-medium'
 | 
			
		||||
    });
 | 
			
		||||
    $.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