move dateui to folder, add jquery-ui-datepicker
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
/**
|
||||
* text
|
||||
*/
|
||||
Text input
|
||||
|
||||
@class text
|
||||
@extends abstract
|
||||
**/
|
||||
(function ($) {
|
||||
var Text = function (options) {
|
||||
this.init('text', options, Text.defaults);
|
||||
@@ -18,9 +21,21 @@
|
||||
});
|
||||
|
||||
Text.defaults = $.extend({}, $.fn.editableform.types.abstract.defaults, {
|
||||
tpl: '<input type="text">'
|
||||
/**
|
||||
@property tpl
|
||||
@default <input type="text">
|
||||
**/
|
||||
tpl: '<input type="text">',
|
||||
/**
|
||||
Placeholder attribute of input. Shown when input is empty.
|
||||
|
||||
@property placeholder
|
||||
@type string
|
||||
@default null
|
||||
**/
|
||||
placeholder: null
|
||||
});
|
||||
|
||||
$.fn.editableform.types.text = Text;
|
||||
|
||||
}(window.jQuery));
|
||||
}(window.jQuery));
|
||||
|
||||
Reference in New Issue
Block a user