Merge branch 'master' of git://github.com/Doggie52/x-editable into dev
This commit is contained in:
commit
85c5ff9fba
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user